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

Go to the source code of this file.

Functions

LWTRIANGLElwtriangle_construct (int srid, GBOX *bbox, POINTARRAY *points)
 
LWTRIANGLElwtriangle_construct_empty (int srid, char hasz, char hasm)
 
void lwtriangle_free (LWTRIANGLE *triangle)
 
void printLWTRIANGLE (LWTRIANGLE *triangle)
 
LWTRIANGLElwtriangle_clone (const LWTRIANGLE *g)
 
void lwtriangle_force_clockwise (LWTRIANGLE *triangle)
 
int lwtriangle_is_clockwise (LWTRIANGLE *triangle)
 
void lwtriangle_release (LWTRIANGLE *lwtriangle)
 
char lwtriangle_same (const LWTRIANGLE *t1, const LWTRIANGLE *t2)
 
static char lwtriangle_is_repeated_points (LWTRIANGLE *triangle)
 
LWTRIANGLElwtriangle_from_lwline (const LWLINE *shell)
 
int lwtriangle_is_empty (const LWTRIANGLE *triangle)
 
double lwtriangle_area (const LWTRIANGLE *triangle)
 Find the area of the outer ring. More...
 
double lwtriangle_perimeter (const LWTRIANGLE *triangle)
 
double lwtriangle_perimeter_2d (const LWTRIANGLE *triangle)