HotPixelSnapAction class
- Inheritance
-
- Object
- MonotoneChainSelectAction
- HotPixelSnapAction
Constructors
- HotPixelSnapAction(HotPixel hotPixel, SegmentString? parentEdge, int hotPixelVertexIndex)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hotPixel ↔ HotPixel
-
getter/setter pair
- hotPixelVertexIndex ↔ int
-
getter/setter pair
- parentEdge ↔ SegmentString?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedSegment ↔ LineSegment
-
getter/setter pairinherited
Methods
-
isNodeAdded(
) → bool - 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.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
select(
MonotoneChainI mc, int startIndex) → void -
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).
override
-
selectLS(
LineSegment seg) → void -
This is a convenience method which can be overridden to obtain the actual
line segment which is selected.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited