libpysal.cg.Point

class libpysal.cg.Point(loc)[source]

Geometric class for point objects.

Examples

>>> p = Point((1, 3))

Create a point from its coordinates.

Parameters:
loc : tuple

The point’s location (number \(x\)-tuple, \(x\) > 1).