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
INodableSegmentStringcoord
CoordinatesegmentIndex
intsegmentOctant
Octants
Fields
Coord
public readonly Coordinate Coord
Field Value
SegmentIndex
public readonly int SegmentIndex
Field Value
Properties
Coordinate
Gets the Coordinate giving the location of this node.
public Coordinate Coordinate { get; }
Property Value
IsInterior
public bool IsInterior { get; }
Property Value
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
ToString()
public override string ToString()
Returns
Write(StreamWriter)
public void Write(StreamWriter outstream)
Parameters
outstream
StreamWriter