Table of Contents

Enum Dimension

Namespace
NetTopologySuite.Geometries
Assembly
NetTopologySuite.dll

Provides constants representing the dimensions of a point, a curve and a surface.

public enum Dimension

Fields

A = 2

Dimension value of a surface (2).

Collapse = 3

Dimension value for a collapsed surface or curve

Curve = 1

Dimension value of a curve (1).

Dontcare = -3

Dimension value for any dimension (= {False, True}).

False = -1

Dimension value of a empty point (-1).

L = 1

Dimension value of a curve (1).

P = 0

Dimension value of a point (0).

Point = 0

Dimension value of a point (0).

Surface = 2

Dimension value of a surface (2).

True = -2

Dimension value of non-empty geometries (= {Point,Curve,Surface}).

Unknown = -1

Dimension value for a unknown spatial object

Remarks

Also provides constants representing the dimensions of the empty geometry and non-empty geometries, and the wildcard constant Dontcare meaning "any dimension". These constants are used as the entries in IntersectionMatrixs.