Class Dimension

Hierarchy: Object , Dimension
public class Dimension
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 DONTCARE meaning "any dimension". These constants are used as the entries in IntersectionMatrixs.

Other

  • version: 1.7
public static char toDimensionSymbol(int dimensionValue)
Converts the dimension value to a dimension symbol, for example, TRUE => 'T' .
Parameters:
dimensionValue - dimensionValue a number that can be stored in the IntersectionMatrix . Possible values are {TRUE, FALSE, DONTCARE, 0, 1, 2}.
Returns:
a character for use in the string representation of an IntersectionMatrix. Possible values are {T, F, * , 0, 1, 2} .
public static int toDimensionValue(char dimensionSymbol)
Converts the dimension symbol to a dimension value, for example, '*' => DONTCARE .
Parameters:
dimensionSymbol - dimensionSymbol a character for use in the string representation of an IntersectionMatrix. Possible values are {T, F, * , 0, 1, 2} .
Returns:
a number that can be stored in the IntersectionMatrix . Possible values are {TRUE, FALSE, DONTCARE, 0, 1, 2}.