GEOS 3.6.2
geos::geom::Dimension Class Reference

Constants representing the dimensions of a point, a curve and a surface. More...

#include <Dimension.h>

Public Types

enum  DimensionType {
  DONTCARE =-3 , True =-2 , False =-1 , P =0 ,
  L =1 , A =2
}

Static Public Member Functions

static char toDimensionSymbol (int dimensionValue)
static int toDimensionValue (char dimensionSymbol)

Detailed Description

Constants representing the dimensions of a point, a curve and a surface.

Also, constants representing the dimensions of the empty geometry and non-empty geometries, and a wildcard dimension meaning "any dimension".

Member Enumeration Documentation

◆ DimensionType

Enumerator
DONTCARE 

Dimension value for any dimension (= {FALSE, TRUE}).

True 

Dimension value of non-empty geometries (= {P, L, A}).

False 

Dimension value of the empty geometry (-1).

Dimension value of a point (0).

Dimension value of a curve (1).

Dimension value of a surface (2).


The documentation for this class was generated from the following file: