PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_as_lwcircstring()

LWCIRCSTRING * lwgeom_as_lwcircstring ( const LWGEOM lwgeom)
extern

Definition at line 188 of file lwgeom.c.

189{
190 if ( lwgeom == NULL ) return NULL;
191 if ( lwgeom->type == CIRCSTRINGTYPE )
192 return (LWCIRCSTRING *)lwgeom;
193 else return NULL;
194}
#define CIRCSTRINGTYPE
Definition liblwgeom.h:109
uint8_t type
Definition liblwgeom.h:462

References CIRCSTRINGTYPE, and LWGEOM::type.

Referenced by extract_pointarrays_from_lwgeom(), lwcompound_contains_point(), LWGEOM_dumppoints(), lwgeom_swap_ordinates(), test_ptarrayarc_contains_point(), and wkt_parser_curvepolygon_add_ring().

Here is the caller graph for this function: