MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
geo_constructors.c File Reference

Constructors for the 2D geometric operations. More...

#include "postgres.h"
#include "utils/array.h"
#include <utils/float.h>
#include "utils/geo_decls.h"
#include "utils/lsyscache.h"
#include <meos.h>

Functions

Datum box_constructor (PG_FUNCTION_ARGS)
 BOX constructor. More...
 
Datum circle_constructor (PG_FUNCTION_ARGS)
 CIRCLE constructor. More...
 
Datum line_constructor (PG_FUNCTION_ARGS)
 LINE constructor. More...
 
Datum lseg_constructor (PG_FUNCTION_ARGS)
 LSEG constructor. More...
 
static void make_bound_box (POLYGON *poly)
 
Datum path_constructor (PG_FUNCTION_ARGS)
 PATH constructor. More...
 
Datum point_constructor (PG_FUNCTION_ARGS)
 Point constructor. More...
 
Datum poly_constructor (PG_FUNCTION_ARGS)
 POLYGON constructor. More...
 

Detailed Description

Constructors for the 2D geometric operations.

This module implements the constructors for the following geometric types: point, line, lseg (line segment), box, circle, path, and polygon.

Note
These constructors should be submitted as a PR to PostgreSQL.