PostGIS  2.4.9dev-r@@SVN_REVISION@@
lwcompound.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "liblwgeom_internal.h"
#include "lwgeom_log.h"
Include dependency graph for lwcompound.c:

Go to the source code of this file.

Functions

int lwcompound_is_closed (const LWCOMPOUND *compound)
 
double lwcompound_length (const LWCOMPOUND *comp)
 
double lwcompound_length_2d (const LWCOMPOUND *comp)
 
int lwcompound_add_lwgeom (LWCOMPOUND *comp, LWGEOM *geom)
 Add a component, allocating extra space if necessary. More...
 
LWCOMPOUNDlwcompound_construct_empty (int srid, char hasz, char hasm)
 
int lwgeom_contains_point (const LWGEOM *geom, const POINT2D *pt)
 
int lwcompound_contains_point (const LWCOMPOUND *comp, const POINT2D *pt)
 
LWCOMPOUNDlwcompound_construct_from_lwline (const LWLINE *lwline)
 Construct an equivalent compound curve from a linestring. More...
 
LWPOINTlwcompound_get_lwpoint (const LWCOMPOUND *lwcmp, int where)
 
LWPOINTlwcompound_get_startpoint (const LWCOMPOUND *lwcmp)
 
LWPOINTlwcompound_get_endpoint (const LWCOMPOUND *lwcmp)