Was this page helpful?
Public Functions
Creates a new line string iterator.
See also
Returns an iterator that must be freed.
Frees a line string iterator instance.
iterator – [in]
Resets a line string iterator so that it can be reused to process a binary representation.
iterator – [in] the iterator to reset
value – [in] binary representation of the line string
CASS_OK if successful, otherwise an error occurred.
Resets a line string 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 line string
CASS_OK if successful, otherwise an error occurred.
Same as dse_line_string_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 line string
wkt_length – [in] length of wkt string
CASS_OK if successful, otherwise an error occurred.
Gets the number of points in the line string.
iterator – [in]
The number of points in the line string.
Gets the next point in the line string.
iterator – [in]
x – [out]
y – [out]
CASS_OK if successful, otherwise an error occurred.
Was this page helpful?
On this page
DseLineStringIterator
DseLineStringIterator::dse_line_string_iterator_new()
DseLineStringIterator::dse_line_string_iterator_free()
DseLineStringIterator::dse_line_string_iterator_reset()
DseLineStringIterator::dse_line_string_iterator_reset_with_wkt()
DseLineStringIterator::dse_line_string_iterator_reset_with_wkt_n()
DseLineStringIterator::dse_line_string_iterator_num_points()
DseLineStringIterator::dse_line_string_iterator_next_point()