|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geom.Dimension
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".
Field Summary | |
static int |
A
Dimension value of a surface (2). |
static int |
DONTCARE
Dimension value for any dimension (= {FALSE, TRUE}). |
static int |
FALSE
Dimension value of the empty geometry (-1). |
static int |
L
Dimension value of a curve (1). |
static int |
P
Dimension value of a point (0). |
static int |
TRUE
Dimension value of non-empty geometries (= {P, L, A}). |
Constructor Summary | |
Dimension()
|
Method Summary | |
static char |
toDimensionSymbol(int dimensionValue)
Converts the dimension value to a dimension symbol, for example, TRUE => 'T'
. |
static int |
toDimensionValue(char dimensionSymbol)
Converts the dimension symbol to a dimension value, for example, '*' => DONTCARE
. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int P
public static final int L
public static final int A
public static final int FALSE
public static final int TRUE
public static final int DONTCARE
Constructor Detail |
public Dimension()
Method Detail |
public static char toDimensionSymbol(int dimensionValue)
TRUE => 'T'
.
dimensionValue
- a number that can be stored in the IntersectionMatrix
. Possible values are {TRUE, FALSE, DONTCARE, 0, 1, 2}
.
IntersectionMatrix
. Possible values are {T, F, * , 0, 1, 2}
.public static int toDimensionValue(char dimensionSymbol)
'*' => DONTCARE
.
dimensionSymbol
- a character for use in the string representation of
an IntersectionMatrix
. Possible values are {T, F, * , 0, 1, 2}
.
IntersectionMatrix
. Possible values are {TRUE, FALSE, DONTCARE, 0, 1, 2}
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |