Search Results for

    Show / Hide Table of Contents

    Class SegmentNode

    Represents an intersection point between two ISegmentStrings.

    Inheritance
    object
    SegmentNode
    Implements
    IComparable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: NetTopologySuite.Noding
    Assembly: NetTopologySuite.dll
    Syntax
    public class SegmentNode : IComparable

    Constructors

    | Edit this page View Source

    SegmentNode(INodableSegmentString, Coordinate, int, Octants)

    Initializes a new instance of the SegmentNode class.

    Declaration
    public SegmentNode(INodableSegmentString segString, Coordinate coord, int segmentIndex, Octants segmentOctant)
    Parameters
    Type Name Description
    INodableSegmentString segString
    Coordinate coord
    int segmentIndex
    Octants segmentOctant

    Fields

    | Edit this page View Source

    Coord

    Declaration
    public readonly Coordinate Coord
    Field Value
    Type Description
    Coordinate
    | Edit this page View Source

    SegmentIndex

    Declaration
    public readonly int SegmentIndex
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    Coordinate

    Gets the Coordinate giving the location of this node.

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

    IsInterior

    Declaration
    public bool IsInterior { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    CompareTo(object)

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    int

    -1 this SegmentNode is located before the argument location;
    0 this SegmentNode is at the argument location;
    1 this SegmentNode is located after the argument location.

    | Edit this page View Source

    IsEndPoint(int)

    Declaration
    public bool IsEndPoint(int maxSegmentIndex)
    Parameters
    Type Name Description
    int maxSegmentIndex
    Returns
    Type Description
    bool
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    | Edit this page View Source

    Write(StreamWriter)

    Declaration
    public void Write(StreamWriter outstream)
    Parameters
    Type Name Description
    StreamWriter outstream

    Implements

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