libpysal.cg.Point¶
-
class
libpysal.cg.
Point
(loc)[source]¶ Geometric class for point objects.
- Attributes
- None
-
__init__
(self, 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)
- loc
Examples
>>> p = Point((1, 3))
Methods
__init__
(self, loc)Returns an instance of a Point object.