Search Results for

    Show / Hide Table of Contents

    Interface ISegmentString

    An interface for classes which represent a sequence of contiguous line segments. SegmentStrings can carry a context object, which is useful for preserving topological or parentage information.

    Namespace: NetTopologySuite.Noding
    Assembly: NetTopologySuite.dll
    Syntax
    public interface ISegmentString

    Properties

    | Edit this page View Source

    Context

    Gets/Sets the user-defined data for this segment string.

    Declaration
    object Context { get; set; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    Coordinates

    Points that make up ISegmentString

    Declaration
    Coordinate[] Coordinates { get; }
    Property Value
    Type Description
    Coordinate[]
    | Edit this page View Source

    Count

    Gets the number of Coordinates in this segment string.

    Declaration
    int Count { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    IsClosed

    States whether ISegmentString is closed

    Declaration
    bool IsClosed { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    this[int]

    Declaration
    LineSegment this[int index] { get; set; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    LineSegment

    Extension Methods

    SegmentStringEx.GetCoordinate(ISegmentString, int)
    SegmentStringEx.NextInRing(ISegmentString, int)
    SegmentStringEx.PrevInRing(ISegmentString, int)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX