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

Go to the source code of this file.


LWLINElwline_construct (int srid, GBOX *bbox, POINTARRAY *points)
LWLINElwline_construct_empty (int srid, char hasz, char hasm)
void lwline_free (LWLINE *line)
void printLWLINE (LWLINE *line)
LWLINElwline_clone (const LWLINE *g)
LWLINElwline_clone_deep (const LWLINE *g)
void lwline_release (LWLINE *lwline)
void lwline_reverse (LWLINE *line)
LWLINElwline_segmentize2d (LWLINE *line, double dist)
char lwline_same (const LWLINE *l1, const LWLINE *l2)
LWLINElwline_from_lwgeom_array (int srid, uint32_t ngeoms, LWGEOM **geoms)
LWLINElwline_from_ptarray (int srid, uint32_t npoints, LWPOINT **points)
LWLINElwline_from_lwmpoint (int srid, const LWMPOINT *mpoint)
LWPOINTlwline_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...
LWLINElwline_removepoint (LWLINE *line, uint32_t index)
void lwline_setPoint4d (LWLINE *line, uint32_t index, POINT4D *newpoint)
LWLINElwline_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...
LWGEOMlwline_remove_repeated_points (LWLINE *lwline, double tolerance)
int lwline_is_closed (const LWLINE *line)
int lwline_is_trajectory (const LWLINE *line)
LWLINElwline_force_dims (const LWLINE *line, int hasz, int hasm)
int lwline_is_empty (const LWLINE *line)
int lwline_count_vertices (LWLINE *line)
LWLINElwline_simplify (const LWLINE *iline, double dist, int preserve_collapsed)
double lwline_length (const LWLINE *line)
double lwline_length_2d (const LWLINE *line)
LWLINElwline_grid (const LWLINE *line, const gridspec *grid)