geos::geom::Dimension Class Reference

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

#include <Dimension.h>

List of all members.

Public Types

 DONTCARE = -3
 Dimension value for any dimension (= {FALSE, TRUE}).
 True = -2
 Dimension value of non-empty geometries (= {P, L, A}).
 False = -1
 Dimension value of the empty geometry (-1).
 P = 0
 Dimension value of a point (0).
 L = 1
 Dimension value of a curve (1).
 A = 2
 Dimension value of a surface (2).
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

enum geos::geom::Dimension::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).
P  Dimension value of a point (0).
L  Dimension value of a curve (1).
A  Dimension value of a surface (2).


The documentation for this class was generated from the following file:
Generated on Sat Aug 20 01:31:07 2011 for GEOS by  doxygen 1.4.7