PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lwpointiterator_peek | ( | LWPOINTITERATOR * | s, |
POINT4D * | p | ||
) |
Attempts to assigns the next point in the iterator to p.
Does not advance. Returns LW_SUCCESS if the assignment was successful, LW_FAILURE otherwise.
Definition at line 195 of file lwiterator.c.
References getPoint4d_p(), LWPOINTITERATOR::i, LISTNODE::item, LW_FAILURE, lwpointiterator_has_next(), and LWPOINTITERATOR::pointarrays.
Referenced by lwpointiterator_next(), and test_mixed_rw_access().