Definition at line 1183 of file ptarray.c.
1184{
1185
1186 uint32_t i;
1191
1192 for( i = 0; i < pa->
npoints; i++ )
1193 {
1195 if( hasz && ! in_hasz )
1197 if( hasm && ! in_hasm )
1200 }
1201
1202 return pa_out;
1203}
#define FLAGS_GET_Z(flags)
#define FLAGS_GET_M(flags)
int getPoint4d_p(const POINTARRAY *pa, uint32_t n, POINT4D *point)
#define LW_TRUE
Return types for functions with status returns.
POINTARRAY * ptarray_construct_empty(char hasz, char hasm, uint32_t maxpoints)
Create a new POINTARRAY with no points.
int ptarray_append_point(POINTARRAY *pa, const POINT4D *pt, int repeated_points)
Append a point to the end of an existing POINTARRAY If allow_duplicate is LW_FALSE,...
References POINTARRAY::flags, FLAGS_GET_M, FLAGS_GET_Z, getPoint4d_p(), LW_TRUE, POINT4D::m, POINTARRAY::npoints, ptarray_append_point(), ptarray_construct_empty(), and POINT4D::z.
Referenced by lwline_force_dims(), lwpoint_force_dims(), and lwpoly_force_dims().