Search Results for

    Show / Hide Table of Contents

    Class LocationIndexOfLine

    Determines the location of a subline along a linear Geometry. The location is reported as a pair of LinearLocations. NOTE: Currently this algorithm is not guaranteed to return the correct substring in some situations where an endpoint of the test line occurs more than once in the input line. (However, the common case of a ring is always handled correctly).

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

    Constructors

    | Edit this page View Source

    LocationIndexOfLine(Geometry)

    Initializes a new instance of the LocationIndexOfLine class.

    Declaration
    public LocationIndexOfLine(Geometry linearGeom)
    Parameters
    Type Name Description
    Geometry linearGeom

    The linear geom.

    Methods

    | Edit this page View Source

    IndicesOf(Geometry)

    Declaration
    public virtual LinearLocation[] IndicesOf(Geometry subLine)
    Parameters
    Type Name Description
    Geometry subLine
    Returns
    Type Description
    LinearLocation[]
    | Edit this page View Source

    IndicesOf(Geometry, Geometry)

    Declaration
    public static LinearLocation[] IndicesOf(Geometry linearGeom, Geometry subLine)
    Parameters
    Type Name Description
    Geometry linearGeom
    Geometry subLine
    Returns
    Type Description
    LinearLocation[]
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX