PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lwpointiterator_modify_next | ( | LWPOINTITERATOR * | s, |
const POINT4D * | p | ||
) |
Attempts to replace the next point int the iterator with p, and advances the iterator to the next point.
Returns LW_SUCCESS if the assignment was successful, LW_FAILURE otherwise.
Definition at line 226 of file lwiterator.c.
References LWPOINTITERATOR::allow_modification, LWPOINTITERATOR::i, LISTNODE::item, LW_FAILURE, LW_SUCCESS, lwerror(), lwpointiterator_advance(), lwpointiterator_has_next(), LWPOINTITERATOR::pointarrays, and ptarray_set_point4d().
Referenced by test_cannot_modify_read_only(), test_mixed_rw_access(), and test_modification().