Search Results for

    Show / Hide Table of Contents

    Class DirectedEdge

    Inheritance
    object
    EdgeEnd
    DirectedEdge
    Implements
    IComparable<EdgeEnd>
    Inherited Members
    EdgeEnd.Init(Coordinate, Coordinate)
    EdgeEnd.Edge
    EdgeEnd.Label
    EdgeEnd.Coordinate
    EdgeEnd.DirectedCoordinate
    EdgeEnd.Quadrant
    EdgeEnd.QuadrantEx
    EdgeEnd.Dx
    EdgeEnd.Dy
    EdgeEnd.Node
    EdgeEnd.CompareTo(EdgeEnd)
    EdgeEnd.CompareDirection(EdgeEnd)
    EdgeEnd.ComputeLabel(IBoundaryNodeRule)
    EdgeEnd.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: NetTopologySuite.GeometriesGraph
    Assembly: NetTopologySuite.dll
    Syntax
    public class DirectedEdge : EdgeEnd, IComparable<EdgeEnd>

    Constructors

    | Edit this page View Source

    DirectedEdge(Edge, bool)

    Declaration
    public DirectedEdge(Edge edge, bool isForward)
    Parameters
    Type Name Description
    Edge edge
    bool isForward

    Properties

    | Edit this page View Source

    DepthDelta

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

    EdgeRing

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

    InResult

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

    IsForward

    Declaration
    public bool IsForward { get; protected set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsInResult

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

    IsInteriorAreaEdge

    This is an interior Area edge if its label is an Area label for both Geometries and for each Geometry both sides are in the interior.

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

    true if this is an interior Area edge.

    | Edit this page View Source

    IsLineEdge

    Gets a value indicating if this edge is a line edge.

    It is if
    • at least one of the labels is a line label
    • any labels which are not line labels have all Location = Exterior.
    Declaration
    public bool IsLineEdge { get; }
    Property Value
    Type Description
    bool

    true if edge is a line edge

    | Edit this page View Source

    IsVisited

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

    MinEdgeRing

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

    Next

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

    NextMin

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

    Sym

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

    Visited

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

    VisitedEdge

    Gets or sets a value indicating if both Visited and Sym.Visited are true.

    Setting the property marks both DirectedEdges attached to a given Edge.

    This is used for edges corresponding to lines, which will only appear oriented in a single direction in the result.
    Declaration
    public bool VisitedEdge { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    DepthFactor(Location, Location)

    Computes the factor for the change in depth when moving from one location to another. E.g. if crossing from the Interior to the Exterior the depth decreases, so the factor is -1.

    Declaration
    public static int DepthFactor(Location currLocation, Location nextLocation)
    Parameters
    Type Name Description
    Location currLocation

    The current location

    Location nextLocation

    The next location

    Returns
    Type Description
    int

    Change of depth moving from currLocation to nextLocation

    | Edit this page View Source

    GetDepth(Position)

    Declaration
    public int GetDepth(Position position)
    Parameters
    Type Name Description
    Position position
    Returns
    Type Description
    int
    | Edit this page View Source

    GetDepth(Positions)

    Declaration
    [Obsolete("Use GetDepth(Geometries.Position)")]
    public int GetDepth(Positions position)
    Parameters
    Type Name Description
    Positions position
    Returns
    Type Description
    int
    | Edit this page View Source

    SetDepth(Position, int)

    Set depth for a position

    Declaration
    public void SetDepth(Position position, int depthVal)
    Parameters
    Type Name Description
    Position position

    The position to update

    int depthVal

    The depth at the provided position

    | Edit this page View Source

    SetDepth(Positions, int)

    Declaration
    [Obsolete("Use SetDepth(Geometries.Position, int)")]
    public void SetDepth(Positions position, int depthVal)
    Parameters
    Type Name Description
    Positions position
    int depthVal
    | Edit this page View Source

    SetEdgeDepths(Position, int)

    Set both edge depths. One depth for a given side is provided. The other is computed depending on the Location transition and the depthDelta of the edge.

    Declaration
    public void SetEdgeDepths(Position position, int depth)
    Parameters
    Type Name Description
    Position position

    The position to update

    int depth

    The depth at the provided position

    | Edit this page View Source

    SetEdgeDepths(Positions, int)

    Set both edge depths. One depth for a given side is provided. The other is computed depending on the Location transition and the depthDelta of the edge.

    Declaration
    [Obsolete("Use SetEdgeDepths(Topology.Postion, int)")]
    public void SetEdgeDepths(Positions position, int depth)
    Parameters
    Type Name Description
    Positions position

    The position to update

    int depth

    The depth at the provided position

    | Edit this page View Source

    Write(StreamWriter)

    Declaration
    public override void Write(StreamWriter outstream)
    Parameters
    Type Name Description
    StreamWriter outstream
    Overrides
    EdgeEnd.Write(StreamWriter)
    | Edit this page View Source

    WriteEdge(StreamWriter)

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

    Implements

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