Search Results for

    Show / Hide Table of Contents

    Class MCIndexPointSnapper.HotPixelSnapAction

    Inheritance
    object
    MonotoneChainSelectAction
    MCIndexPointSnapper.HotPixelSnapAction
    Inherited Members
    MonotoneChainSelectAction.SelectedSegment
    MonotoneChainSelectAction.Select(LineSegment)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Noding.Snapround
    Assembly: NetTopologySuite.dll
    Syntax
    public class MCIndexPointSnapper.HotPixelSnapAction : MonotoneChainSelectAction

    Constructors

    | Edit this page View Source

    HotPixelSnapAction(HotPixel, ISegmentString, int)

    Initializes a new instance of the MCIndexPointSnapper.HotPixelSnapAction class.

    Declaration
    public HotPixelSnapAction(HotPixel hotPixel, ISegmentString parentEdge, int hotPixelVertexIndex)
    Parameters
    Type Name Description
    HotPixel hotPixel
    ISegmentString parentEdge
    int hotPixelVertexIndex

    Properties

    | Edit this page View Source

    IsNodeAdded

    Reports whether the HotPixel caused a node to be added in any target segmentString(including its own). If so, the HotPixel must be added as a node as well.

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

    true if a node was added in any target segmentString.

    Methods

    | Edit this page View Source

    Select(MonotoneChain, int)

    Check if a segment of the monotone chain intersects the hot pixel vertex and introduce a snap node if so. Optimized to avoid noding segments which contain the vertex (which otherwise would cause every vertex to be noded).

    Declaration
    public override void Select(MonotoneChain mc, int startIndex)
    Parameters
    Type Name Description
    MonotoneChain mc

    A monotone chain

    int startIndex

    A start index

    Overrides
    MonotoneChainSelectAction.Select(MonotoneChain, int)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX