GEOS  3.9.1dev
Public Types | Static Public Member Functions | List of all members
geos::geom::Dimension Class Reference

#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".

Definition at line 29 of file Dimension.h.

Member Enumeration Documentation

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).

Definition at line 31 of file Dimension.h.

Member Function Documentation

static char geos::geom::Dimension::toDimensionSymbol ( int  dimensionValue)
static
static int geos::geom::Dimension::toDimensionValue ( char  dimensionSymbol)
static

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