Class SweepLineEvent
Inheritance
SweepLineEvent
Assembly: NetTopologySuite.dll
Syntax
public class SweepLineEvent : IComparable
Constructors
|
Improve this Doc
View Source
SweepLineEvent(Double, SweepLineEvent)
Declaration
public SweepLineEvent(double x, SweepLineEvent insertEvent)
Parameters
Type |
Name |
Description |
Double |
x |
The event location
|
SweepLineEvent |
insertEvent |
The corresponding INSERT event
|
|
Improve this Doc
View Source
SweepLineEvent(Object, Double, Object)
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
|
Improve this Doc
View Source
DeleteEventIndex
Declaration
public int DeleteEventIndex { get; set; }
Property Value
|
Improve this Doc
View Source
InsertEvent
Declaration
public SweepLineEvent InsertEvent { get; }
Property Value
|
Improve this Doc
View Source
IsDelete
Declaration
public bool IsDelete { get; }
Property Value
|
Improve this Doc
View Source
IsInsert
Declaration
public bool IsInsert { get; }
Property Value
|
Improve this Doc
View Source
Object
Declaration
public object Object { get; }
Property Value
Methods
|
Improve this Doc
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
|
Improve this Doc
View Source
IsSameLabel(SweepLineEvent)
Declaration
public bool IsSameLabel(SweepLineEvent ev)
Parameters
Returns
Implements