PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ ptarray_is_closed_z()

int ptarray_is_closed_z ( const POINTARRAY pa)

Definition at line 719 of file ptarray.c.

720 {
721  if ( FLAGS_GET_Z(in->flags) )
722  return ptarray_is_closed_3d(in);
723  else
724  return ptarray_is_closed_2d(in);
725 }
#define FLAGS_GET_Z(flags)
Definition: liblwgeom.h:179
int ptarray_is_closed_2d(const POINTARRAY *in)
Definition: ptarray.c:693
int ptarray_is_closed_3d(const POINTARRAY *in)
Definition: ptarray.c:706

References POINTARRAY::flags, FLAGS_GET_Z, ptarray_is_closed_2d(), and ptarray_is_closed_3d().

Referenced by lwtriangle_from_wkb_state(), wkt_parser_polygon_add_ring(), and wkt_parser_triangle_new().

Here is the call graph for this function:
Here is the caller graph for this function: