class documentation

class GEOSCoordSeq(GEOSBase): (source)

View In Hierarchy

The internal representation of a list of coordinates inside a Geometry.

Method __getitem__ Return the coordinate sequence value at the given index.
Method __init__ Initialize from a GEOS pointer.
Method __iter__ Iterate over each point in the coordinate sequence.
Method __len__ Return the number of points in the coordinate sequence.
Method __setitem__ Set the coordinate sequence value at the given index.
Method __str__ Return the string representation of the coordinate sequence.
Method clone Clone this coordinate sequence.
Method getOrdinate Return the value for the given dimension and index.
Method getX Get the X value at the index.
Method getY Get the Y value at the given index.
Method getZ Get Z with the value at the given index.
Method setOrdinate Set the value for the given dimension and index.
Method setX Set X with the value at the given index.
Method setY Set Y with the value at the given index.
Method setZ Set Z with the value at the given index.
Property dims Return the dimensions of this coordinate sequence.
Property hasz Return whether this coordinate sequence is 3D. This property value is inherited from the parent Geometry.
Property is_counterclockwise Return whether this coordinate sequence is counterclockwise.
Property kml Return the KML representation for the coordinates.
Property size Return the size of this coordinate sequence.
Property tuple Return a tuple version of this coordinate sequence.
Method _checkdim Check the given dimension.
Method _checkindex Check the given index.
Method _get_point_2d Undocumented
Method _get_point_3d Undocumented
Method _get_x Undocumented
Method _get_y Undocumented
Method _get_z Undocumented
Method _set_point_2d Undocumented
Method _set_point_3d Undocumented
Method _set_x Undocumented
Method _set_y Undocumented
Method _set_z Undocumented
Instance Variable _ptr Undocumented
Instance Variable _z Undocumented
Property _point_getter Undocumented

Inherited from CPointerBase (via GEOSBase):

Method __del__ Free the memory used by the C++ object.
Method ptr.setter Undocumented
Class Variable destructor Undocumented
Property ptr Undocumented
def __getitem__(self, index): (source)

Return the coordinate sequence value at the given index.

def __init__(self, ptr, z=False): (source)

Initialize from a GEOS pointer.

def __iter__(self): (source)

Iterate over each point in the coordinate sequence.

def __len__(self): (source)

Return the number of points in the coordinate sequence.

def __setitem__(self, index, value): (source)

Set the coordinate sequence value at the given index.

def __str__(self): (source)

Return the string representation of the coordinate sequence.

def clone(self): (source)

Clone this coordinate sequence.

def getOrdinate(self, dimension, index): (source)

Return the value for the given dimension and index.

def getX(self, index): (source)

Get the X value at the index.

def getY(self, index): (source)

Get the Y value at the given index.

def getZ(self, index): (source)

Get Z with the value at the given index.

def setOrdinate(self, dimension, index, value): (source)

Set the value for the given dimension and index.

def setX(self, index, value): (source)

Set X with the value at the given index.

def setY(self, index, value): (source)

Set Y with the value at the given index.

def setZ(self, index, value): (source)

Set Z with the value at the given index.

Return the dimensions of this coordinate sequence.

Return whether this coordinate sequence is 3D. This property value is inherited from the parent Geometry.

@property
is_counterclockwise = (source)

Return whether this coordinate sequence is counterclockwise.

Return the KML representation for the coordinates.

Return the size of this coordinate sequence.

Return a tuple version of this coordinate sequence.

def _checkdim(self, dim): (source)

Check the given dimension.

def _checkindex(self, index): (source)

Check the given index.

def _get_point_2d(self, index): (source)

Undocumented

def _get_point_3d(self, index): (source)

Undocumented

def _get_x(self, index): (source)

Undocumented

def _get_y(self, index): (source)

Undocumented

def _get_z(self, index): (source)

Undocumented

def _set_point_2d(self, index, value): (source)

Undocumented

def _set_point_3d(self, index, value): (source)

Undocumented

def _set_x(self, index, value): (source)

Undocumented

def _set_y(self, index, value): (source)

Undocumented

def _set_z(self, index, value): (source)

Undocumented

Undocumented

@property
_point_getter = (source)

Undocumented