Was this page helpful?
Public Functions
Creates a new polygon iterator.
See also
Returns an iterator that must be freed.
Frees a polygon iterator instance.
iterator – [in]
Resets a polygon iterator so that it can be reused to process a binary representation.
iterator – [in] the iterator to reset
value – [in] binary representation of the polygon
CASS_OK if successful, otherwise an error occurred.
Resets a polygon iterator so that it can be reused to parse WKT.
Note
The wkt string must remain allocated throughout the lifetime of the iterator since the iterator traverses the string without copying it.
iterator – [in] the iterator to reset
wkt – [in] WKT representation of the polygon
CASS_OK if successful, otherwise an error occurred.
Same as dse_polygon_iterator_reset_with_wkt(), but with lengths for string parameters.
Note
The wkt string must remain allocated throughout the lifetime of the iterator since the iterator traverses the string without copying it.
iterator – [in] the iterator to reset
wkt – [in] WKT representation (string) of the polygon
wkt_length – [in] length of wkt string
CASS_OK if successful, otherwise an error occurred.
Gets the number rings in the polygon.
iterator – [in]
The number of rings in the polygon.
Gets the number of points for the current ring.
iterator – [in]
num_points – [out]
CASS_OK if successful, otherwise an error occurred.
Gets the next point in the current ring.
iterator – [in]
x – [out]
y – [out]
CASS_OK if successful, otherwise an error occurred.
Was this page helpful?
On this page
DsePolygonIterator
DsePolygonIterator::dse_polygon_iterator_new()
DsePolygonIterator::dse_polygon_iterator_free()
DsePolygonIterator::dse_polygon_iterator_reset()
DsePolygonIterator::dse_polygon_iterator_reset_with_wkt()
DsePolygonIterator::dse_polygon_iterator_reset_with_wkt_n()
DsePolygonIterator::dse_polygon_iterator_num_rings()
DsePolygonIterator::dse_polygon_iterator_next_num_points()
DsePolygonIterator::dse_polygon_iterator_next_point()