Was this page helpful?
Public Functions
Creates a new polygon iterator.
See also
Returns an polygon that must be freed.
Frees a polygon instance.
polygon – [in]
Resets a polygon so that it can be reused.
polygon – [in]
Reserves enough memory to contain the provided number rings and points. This can be use to reduce memory allocations, but it is not required.
polygon – [in]
num_rings – [in]
total_num_points – [in]
Starts a new ring.
Note: This will finish the previous ring.
polygon – [in]
CASS_OK if successful, otherwise an error occurred.
Adds a point to the current ring.
polygon – [in]
x – [in]
y – [in]
CASS_OK if successful, otherwise an error occurred.
Finishes the contruction of a polygon.
polygon – [in]
CASS_OK if successful, otherwise an error occurred.
Was this page helpful?