Search Results for

    Show / Hide Table of Contents

    Class DimensionUtility

    Class containing static methods for conversions between dimension values and characters.

    Inheritance
    object
    DimensionUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Geometries
    Assembly: NetTopologySuite.dll
    Syntax
    public class DimensionUtility

    Fields

    | Edit this page View Source

    SymA

    Symbol for the A (dimension 2) pattern matrix entry

    Declaration
    public const char SymA = '2'
    Field Value
    Type Description
    char
    | Edit this page View Source

    SymDontcare

    Symbol for the DONTCARE pattern matrix entry

    Declaration
    public const char SymDontcare = '*'
    Field Value
    Type Description
    char
    | Edit this page View Source

    SymFalse

    Symbol for the FALSE pattern matrix entry

    Declaration
    public const char SymFalse = 'F'
    Field Value
    Type Description
    char
    | Edit this page View Source

    SymL

    Symbol for the L (dimension 1) pattern matrix entry

    Declaration
    public const char SymL = '1'
    Field Value
    Type Description
    char
    | Edit this page View Source

    SymP

    Symbol for the P (dimension 0) pattern matrix entry

    Declaration
    public const char SymP = '0'
    Field Value
    Type Description
    char
    | Edit this page View Source

    SymTrue

    Symbol for the TRUE pattern matrix entry

    Declaration
    public const char SymTrue = 'T'
    Field Value
    Type Description
    char

    Methods

    | Edit this page View Source

    ToDimensionSymbol(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 IntersectionMatrix. Possible values are True, False, Dontcare, 0, 1, 2.

    Returns
    Type Description
    char

    Character for use in the string representation of an IntersectionMatrix. Possible values are T, F, * , 0, 1, 2.

    | Edit this page View Source

    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 IntersectionMatrix. Possible values are T, F, * , 0, 1, 2.

    Returns
    Type Description
    Dimension

    Number that can be stored in the IntersectionMatrix. Possible values are True, False, Dontcare, 0, 1, 2.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX