Dimension class
Provides constants representing the dimensions of a point, a curve and a surface. Also provides constants representing the dimensions of the empty geometry and non-empty geometries, and the wildcard constant {@link #DONTCARE} meaning "any dimension". These constants are used as the entries in {@link IntersectionMatrix}s.
@version 1.7
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
toDimensionSymbol(
int dimensionValue) → String -
Converts the dimension value to a dimension symbol, for example,
TRUE => 'T'
. -
toDimensionValue(
String dimensionSymbol) → int -
Converts the dimension symbol to a dimension value, for example,
'*' => DONTCARE
.
Constants
- A → const int
- Dimension value of a surface (2).
- DONTCARE → const int
- Dimension value for any dimension (= {FALSE, TRUE}).
- FALSE → const int
- Dimension value of the empty geometry (-1).
- L → const int
- Dimension value of a curve (1).
- P → const int
- Dimension value of a point (0).
- SYM_A → const String
- Symbol for the A (dimension 2) pattern matrix entry
- SYM_DONTCARE → const String
- Symbol for the DONTCARE pattern matrix entry
- SYM_FALSE → const String
- Symbol for the FALSE pattern matrix entry
- SYM_L → const String
- Symbol for the L (dimension 1) pattern matrix entry
- SYM_P → const String
- Symbol for the P (dimension 0) pattern matrix entry
- SYM_TRUE → const String
- Symbol for the TRUE pattern matrix entry
- TRUE → const int
- Dimension value of non-empty geometries (= {P, L, A}).