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

Go to the source code of this file.

Functions

int lwpoint_getPoint2d_p (const LWPOINT *point, POINT2D *out)
 
int lwpoint_getPoint3dz_p (const LWPOINT *point, POINT3DZ *out)
 
int lwpoint_getPoint3dm_p (const LWPOINT *point, POINT3DM *out)
 
int lwpoint_getPoint4d_p (const LWPOINT *point, POINT4D *out)
 
double lwpoint_get_x (const LWPOINT *point)
 
double lwpoint_get_y (const LWPOINT *point)
 
double lwpoint_get_z (const LWPOINT *point)
 
double lwpoint_get_m (const LWPOINT *point)
 
LWPOINTlwpoint_construct (int srid, GBOX *bbox, POINTARRAY *point)
 
LWPOINTlwpoint_construct_empty (int srid, char hasz, char hasm)
 
LWPOINTlwpoint_make2d (int srid, double x, double y)
 
LWPOINTlwpoint_make3dz (int srid, double x, double y, double z)
 
LWPOINTlwpoint_make3dm (int srid, double x, double y, double m)
 
LWPOINTlwpoint_make4d (int srid, double x, double y, double z, double m)
 
LWPOINTlwpoint_make (int srid, int hasz, int hasm, const POINT4D *p)
 
void lwpoint_free (LWPOINT *pt)
 
void printLWPOINT (LWPOINT *point)
 
LWPOINTlwpoint_clone (const LWPOINT *g)
 
void lwpoint_release (LWPOINT *lwpoint)
 
char lwpoint_same (const LWPOINT *p1, const LWPOINT *p2)
 
LWPOINTlwpoint_force_dims (const LWPOINT *point, int hasz, int hasm)
 
int lwpoint_is_empty (const LWPOINT *point)
 
LWPOINTlwpoint_grid (const LWPOINT *point, const gridspec *grid)