PostGIS
2.5.7dev-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(), LW_FAILURE, lwpointiterator_has_next(), and s.
Referenced by lwgeom_trim_bits_in_place(), lwpointiterator_next(), and test_mixed_rw_access().