PathCompressionResult class

The intermediate and final outputs of a path compression run.

Constructors

PathCompressionResult({required List<LatLng> filteredPath, required List<LatLng> simplifiedPath, required List<LatLng> compressedPath, required String encodedPath})
Creates a result container for path compression stages.
const

Properties

compressedPath List<LatLng>
Final coordinate list after precision reduction.
final
encodedPath String
Encoded polyline representation of compressedPath.
final
filteredPath List<LatLng>
Path after applying minimum-distance filtering.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simplifiedPath List<LatLng>
Path after Douglas-Peucker simplification.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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