Class EdgeEnd
  Models the end of an edge incident on a node.
Assembly: NetTopologySuite.dll
  Syntax
  
    public class EdgeEnd : IComparable<EdgeEnd>
   
  
  
  Constructors
  
    |
    Edit this page
  
  
    View Source
  
  
  EdgeEnd(Edge)
  
  
  Declaration
  
    protected EdgeEnd(Edge edge)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Edge | edge |  | 
    
  
  
    |
    Edit this page
  
  
    View Source
  
  
  EdgeEnd(Edge, Coordinate, Coordinate)
  
  
  Declaration
  
    public EdgeEnd(Edge edge, Coordinate p0, Coordinate p1)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  EdgeEnd(Edge, Coordinate, Coordinate, Label)
  
  
  Declaration
  
    public EdgeEnd(Edge edge, Coordinate p0, Coordinate p1, Label label)
   
  Parameters
  
  Properties
  
    |
    Edit this page
  
  
    View Source
  
  
  Coordinate
  
  
  Declaration
  
    public Coordinate Coordinate { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  DirectedCoordinate
  
  
  Declaration
  
    public Coordinate DirectedCoordinate { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Dx
  
  
  Declaration
  
    public double Dx { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Dy
  
  
  Declaration
  
    public double Dy { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Edge
  
  
  Declaration
  
    public Edge Edge { get; protected set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Label
  
  
  Declaration
  
    public Label Label { get; protected set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Node
  
  
  Declaration
  
    public Node Node { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Quadrant
  
  
  Declaration
  
    [Obsolete("Use QuadrantEx")]
public int Quadrant { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  QuadrantEx
  Gets a value indicating the Quadrant this EdgeEnd lies in.
Declaration
  
    public Quadrant QuadrantEx { get; }
   
  Property Value
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  CompareDirection(EdgeEnd)
  Implements the total order relation:
a has a greater angle with the positive x-axis than b.
Using the obvious algorithm of simply computing the angle is not robust,
since the angle calculation is obviously susceptible to round off.
A robust algorithm is:
- first compare the quadrant.  If the quadrants
are different, it it trivial to determine which vector is "greater".
- if the vectors lie in the same quadrant, the computeOrientation function
can be used to decide the relative orientation of the vectors.
Declaration
  
    public int CompareDirection(EdgeEnd e)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | EdgeEnd | e | An EdgeEnd | 
    
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  CompareTo(EdgeEnd)
  
  
  Declaration
  
    public int CompareTo(EdgeEnd e)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ComputeLabel(IBoundaryNodeRule)
  Subclasses should override this if they are using labels
Declaration
  
    public virtual void ComputeLabel(IBoundaryNodeRule boundaryNodeRule)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Init(Coordinate, Coordinate)
  
  
  Declaration
  
    protected void Init(Coordinate p0, Coordinate p1)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
  Overrides
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Write(StreamWriter)
  
  
  Declaration
  
    public virtual void Write(StreamWriter outstream)
   
  Parameters
  
  Implements