pysal.lib.cg.Point

class pysal.lib.cg.Point(loc)[source]

Geometric class for point objects.

Attributes:
None
__init__(loc)[source]

Returns an instance of a Point object.

__init__((number, number)) -> Point

Test tag: <tc>#is#Point.__init__</tc> Test tag: <tc>#tests#Point.__init__</tc>

Parameters:
loc : tuple location (number x-tuple, x > 1)

Examples

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

Methods

__init__(loc) Returns an instance of a Point object.