Table of Contents

Class SegmentNode

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

Represents an intersection point between two ISegmentStrings.

public class SegmentNode : IComparable
Inheritance
SegmentNode
Implements
Inherited Members

Constructors

SegmentNode(INodableSegmentString, Coordinate, int, Octants)

Initializes a new instance of the SegmentNode class.

public SegmentNode(INodableSegmentString segString, Coordinate coord, int segmentIndex, Octants segmentOctant)

Parameters

segString INodableSegmentString
coord Coordinate
segmentIndex int
segmentOctant Octants

Fields

Coord

public readonly Coordinate Coord

Field Value

Coordinate

SegmentIndex

public readonly int SegmentIndex

Field Value

int

Properties

Coordinate

Gets the Coordinate giving the location of this node.

public Coordinate Coordinate { get; }

Property Value

Coordinate

IsInterior

public bool IsInterior { get; }

Property Value

bool

Methods

CompareTo(object)

public int CompareTo(object obj)

Parameters

obj object

Returns

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.

IsEndPoint(int)

public bool IsEndPoint(int maxSegmentIndex)

Parameters

maxSegmentIndex int

Returns

bool

ToString()

public override string ToString()

Returns

string

Write(StreamWriter)

public void Write(StreamWriter outstream)

Parameters

outstream StreamWriter