PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "liblwgeom_internal.h"
#include "lwgeom_log.h"
Go to the source code of this file.
Functions | |
LWLINE * | lwline_construct (int srid, GBOX *bbox, POINTARRAY *points) |
LWLINE * | lwline_construct_empty (int srid, char hasz, char hasm) |
void | lwline_free (LWLINE *line) |
void | printLWLINE (LWLINE *line) |
LWLINE * | lwline_clone (const LWLINE *g) |
LWLINE * | lwline_clone_deep (const LWLINE *g) |
void | lwline_release (LWLINE *lwline) |
void | lwline_reverse (LWLINE *line) |
LWLINE * | lwline_segmentize2d (LWLINE *line, double dist) |
char | lwline_same (const LWLINE *l1, const LWLINE *l2) |
LWLINE * | lwline_from_lwgeom_array (int srid, uint32_t ngeoms, LWGEOM **geoms) |
LWLINE * | lwline_from_ptarray (int srid, uint32_t npoints, LWPOINT **points) |
LWLINE * | lwline_from_lwmpoint (int srid, const LWMPOINT *mpoint) |
LWPOINT * | lwline_get_lwpoint (const LWLINE *line, int where) |
Returns freshly allocated LWPOINT that corresponds to the index where. More... | |
int | lwline_add_lwpoint (LWLINE *line, LWPOINT *point, int where) |
Add a LWPOINT to an LWLINE. More... | |
LWLINE * | lwline_removepoint (LWLINE *line, uint32_t index) |
void | lwline_setPoint4d (LWLINE *line, uint32_t index, POINT4D *newpoint) |
LWLINE * | lwline_measured_from_lwline (const LWLINE *lwline, double m_start, double m_end) |
Re-write the measure ordinate (or add one, if it isn't already there) interpolating the measure between the supplied start and end values. More... | |
LWGEOM * | lwline_remove_repeated_points (const LWLINE *lwline, double tolerance) |
int | lwline_is_closed (const LWLINE *line) |
int | lwline_is_trajectory (const LWLINE *line) |
LWLINE * | lwline_force_dims (const LWLINE *line, int hasz, int hasm) |
int | lwline_is_empty (const LWLINE *line) |
int | lwline_count_vertices (LWLINE *line) |
LWLINE * | lwline_simplify (const LWLINE *iline, double dist, int preserve_collapsed) |
double | lwline_length (const LWLINE *line) |
double | lwline_length_2d (const LWLINE *line) |
LWLINE * | lwline_grid (const LWLINE *line, const gridspec *grid) |