Search Results for

    Show / Hide Table of Contents

    Class SweepLineEvent

    Inheritance
    object
    SweepLineEvent
    Implements
    IComparable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.GeometriesGraph.Index
    Assembly: NetTopologySuite.dll
    Syntax
    public class SweepLineEvent : IComparable

    Constructors

    | Edit this page View Source

    SweepLineEvent(double, SweepLineEvent)

    Creates a DELETE event.

    Declaration
    public SweepLineEvent(double x, SweepLineEvent insertEvent)
    Parameters
    Type Name Description
    double x

    The event location

    SweepLineEvent insertEvent

    The corresponding INSERT event

    | Edit this page View Source

    SweepLineEvent(object, double, object)

    Creates an INSERT event.

    Declaration
    public SweepLineEvent(object label, double x, object obj)
    Parameters
    Type Name Description
    object label

    The edge set label for this object.

    double x

    The event location

    object obj

    the object being inserted

    Properties

    | Edit this page View Source

    DeleteEventIndex

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

    InsertEvent

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

    IsDelete

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

    IsInsert

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

    Object

    Declaration
    public object Object { get; }
    Property Value
    Type Description
    object

    Methods

    | Edit this page View Source

    CompareTo(object)

    Events are ordered first by their x-value, and then by their eventType. Insert events are sorted before Delete events, so that items whose Insert and Delete events occur at the same x-value will be correctly handled.

    Declaration
    public int CompareTo(object o)
    Parameters
    Type Name Description
    object o
    Returns
    Type Description
    int
    | Edit this page View Source

    IsSameLabel(SweepLineEvent)

    Declaration
    public bool IsSameLabel(SweepLineEvent ev)
    Parameters
    Type Name Description
    SweepLineEvent ev
    Returns
    Type Description
    bool

    Implements

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