Line class

Constructors

Line(PointD source, PointD target)

Properties

hashCode int
The hash code for this object.
no setterinherited
length double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source PointD
getter/setter pair
target PointD
getter/setter pair

Methods

intersectionWith(Line line) PointD?
intersects(Line line) bool
isMidPointInPolygon(List<PointD> polygon) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onSegment(PointD point) bool
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited