Search Results for

    Show / Hide Table of Contents

    Class MarkHalfEdge

    A HalfEdge which supports marking edges with a boolean flag. Useful for algorithms which perform graph traversals.

    Inheritance
    object
    HalfEdge
    MarkHalfEdge
    DissolveHalfEdge
    Implements
    IComparable<HalfEdge>
    Inherited Members
    HalfEdge.Create(Coordinate, Coordinate)
    HalfEdge.Init(HalfEdge, HalfEdge)
    HalfEdge.Link(HalfEdge)
    HalfEdge.Init(HalfEdge)
    HalfEdge.Orig
    HalfEdge.Dest
    HalfEdge.DirectionPt
    HalfEdge.Sym
    HalfEdge.Next
    HalfEdge.Prev
    HalfEdge.ONext
    HalfEdge.Find(Coordinate)
    HalfEdge.Equals(Coordinate, Coordinate)
    HalfEdge.Insert(HalfEdge)
    HalfEdge.IsEdgesSorted
    HalfEdge.CompareTo(HalfEdge)
    HalfEdge.CompareAngularDirection(HalfEdge)
    HalfEdge.DeltaX
    HalfEdge.DeltaY
    HalfEdge.ToString()
    HalfEdge.ToStringNode()
    HalfEdge.Degree()
    HalfEdge.PrevNode()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: NetTopologySuite.EdgeGraph
    Assembly: NetTopologySuite.dll
    Syntax
    public class MarkHalfEdge : HalfEdge, IComparable<HalfEdge>

    Constructors

    | Edit this page View Source

    MarkHalfEdge(Coordinate)

    Creates a new marked edge.

    Declaration
    public MarkHalfEdge(Coordinate orig)
    Parameters
    Type Name Description
    Coordinate orig

    the coordinate of the edge origin

    Properties

    | Edit this page View Source

    Marked

    Gets or sets a value indicating if this MarkHalfEdge is marked

    Declaration
    public bool Marked { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    IsMarked(HalfEdge)

    Returns a value indicating that the given edge is marked.

    Declaration
    public static bool IsMarked(HalfEdge e)
    Parameters
    Type Name Description
    HalfEdge e

    An edge

    Returns
    Type Description
    bool

    true if the edge is marked

    | Edit this page View Source

    Mark()

    Marks this edge.

    Declaration
    public void Mark()
    | Edit this page View Source

    Mark(HalfEdge)

    Marks the edge.

    Declaration
    public static void Mark(HalfEdge e)
    Parameters
    Type Name Description
    HalfEdge e

    An edge to mark

    | Edit this page View Source

    MarkBoth(HalfEdge)

    Marks the edges in a pair.

    Declaration
    public static void MarkBoth(HalfEdge e)
    Parameters
    Type Name Description
    HalfEdge e

    an edge of the pair to mark

    | Edit this page View Source

    SetMark(HalfEdge, bool)

    Sets the mark for the given edge to a boolean value.

    Declaration
    public static void SetMark(HalfEdge e, bool isMarked)
    Parameters
    Type Name Description
    HalfEdge e

    An Edge to update

    bool isMarked

    The mark value to set

    | Edit this page View Source

    SetMarkBoth(HalfEdge, bool)

    Sets the mark for the given edge pair to a boolean value.

    Declaration
    public static void SetMarkBoth(HalfEdge e, bool isMarked)
    Parameters
    Type Name Description
    HalfEdge e

    an edge of the pair to update

    bool isMarked

    the mark value to set

    Implements

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