Class DimensionUtility
Class containing static methods for conversions between dimension values and characters.
Inherited Members
Namespace: NetTopologySuite.Geometries
Assembly: NetTopologySuite.dll
Syntax
public class DimensionUtility
Fields
| Improve this Doc View SourceSymA
Symbol for the A (dimension 2) pattern matrix entry
Declaration
public const char SymA = '2'
Field Value
Type | Description |
---|---|
Char |
SymDontcare
Symbol for the DONTCARE pattern matrix entry
Declaration
public const char SymDontcare = '*'
Field Value
Type | Description |
---|---|
Char |
SymFalse
Symbol for the FALSE pattern matrix entry
Declaration
public const char SymFalse = 'F'
Field Value
Type | Description |
---|---|
Char |
SymL
Symbol for the L (dimension 1) pattern matrix entry
Declaration
public const char SymL = '1'
Field Value
Type | Description |
---|---|
Char |
SymP
Symbol for the P (dimension 0) pattern matrix entry
Declaration
public const char SymP = '0'
Field Value
Type | Description |
---|---|
Char |
SymTrue
Symbol for the TRUE pattern matrix entry
Declaration
public const char SymTrue = 'T'
Field Value
Type | Description |
---|---|
Char |
Methods
| Improve this Doc View SourceToDimensionSymbol(Dimension)
Converts the dimension value to a dimension symbol,
for example, True => 'T'
Declaration
public static char ToDimensionSymbol(Dimension dimensionValue)
Parameters
Type | Name | Description |
---|---|---|
Dimension | dimensionValue | Number that can be stored in the |
Returns
Type | Description |
---|---|
Char | Character for use in the string representation of an |
ToDimensionValue(Char)
Converts the dimension symbol to a dimension value,
for example, '*' => Dontcare
Declaration
public static Dimension ToDimensionValue(char dimensionSymbol)
Parameters
Type | Name | Description |
---|---|---|
Char | dimensionSymbol | Character for use in the string representation of an |
Returns
Type | Description |
---|---|
Dimension | Number that can be stored in the |