Skip to content

Instantly share code, notes, and snippets.

@dkbarn
dkbarn / trilateration.py
Last active October 16, 2017 18:36
Trilateration of n gps regions
import itertools
import math
class PointCluster(object):
def __init__(self, pts=()):
self.pts = []
self.pts.extend(pts)
@property