ExtractLineByLocation class

Extracts the subline of a linear {@link Geometry} between two {@link LinearLocation}s on the line.

Constructors

ExtractLineByLocation(Geometry line)

Properties

hashCode int
The hash code for this object.
no setterinherited
line Geometry
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeLine(LinearLocation start, LinearLocation end) LineString
Assumes input is valid (e.g. start <= end)
computeLinear(LinearLocation start, LinearLocation end) Geometry
Assumes input is valid (e.g. start <= end)
extract(LinearLocation start, LinearLocation end) Geometry
Extracts a subline of the input. If end < start the linear geometry computed will be reversed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reverse(Geometry linear) Geometry
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

extractStatic(Geometry line, LinearLocation start, LinearLocation end) Geometry
Computes the subline of a {@link LineString} between two {@link LinearLocation}s on the line. If the start location is after the end location, the computed linear geometry has reverse orientation to the input line.