SweepLineEvent class
@version 1.7
- Implemented types
Constructors
- SweepLineEvent(Object? label, double xValue, Object? obj)
- Creates an INSERT event.
- SweepLineEvent.withEvent(double xValue, SweepLineEvent? insertEvent)
- Creates a DELETE event.
Properties
- deleteEventIndex ↔ int
-
getter/setter pair
- eventType ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- insertEvent ↔ SweepLineEvent?
-
getter/setter pair
- label ↔ Object?
-
getter/setter pair
- obj ↔ Object?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xValue ↔ double
-
getter/setter pair
Methods
-
compareTo(
dynamic o) → int -
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.
override
-
getDeleteEventIndex(
) → int -
getInsertEvent(
) → SweepLineEvent? -
getObject(
) → Object? -
isDelete(
) → bool -
isInsert(
) → bool -
isSameLabel(
SweepLineEvent ev) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDeleteEventIndex(
int deleteEventIndex) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited