EdgeIntersection class
Represents a point on an edge which intersects with another edge.
The intersection may either be a single point, or a line segment (in which case this point is the start of the line segment) The intersection point must be precise.
@version 1.7
- Implemented types
Constructors
- EdgeIntersection(Coordinate coord, int segmentIndex, double dist)
Properties
- coord ↔ Coordinate
-
getter/setter pair
- dist ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentIndex ↔ int
-
getter/setter pair
Methods
-
compare(
int segmentIndex, double dist) → int -
@return -1 this EdgeIntersection is located before the argument location
@return 0 this EdgeIntersection is at the argument location
@return 1 this EdgeIntersection is located after the argument location
override
-
compareTo(
dynamic obj) → int -
Compares this object to another object.
override
-
getCoordinate(
) → Coordinate -
getDistance(
) → double -
getSegmentIndex(
) → int -
isEndPoint(
int maxSegmentIndex) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited