Interface OptimizedLineStringOperations<LS>
- All Superinterfaces:
LineStringOperations<LS>
,Serializable
,scala.Serializable
- All Known Implementing Classes:
PackedLineString.PackedLineStringOps$
A kind of
LineStringOperations
that enables additional, optimized operations
that make some operations on line strings faster.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.here.platform.location.core.geospatial.LineStringOperations
LineStringOperations.LineStringOperationsAsMembers<LS>, LineStringOperations.LineStringOperationsAsMembers$
-
Method Summary
Modifier and TypeMethodDescriptioncumulativeChunkLengths
(LS lineString) The sum of the length of each segment geometry chunk and the lengths of all previous chunks in a segment's geometry, in meters.Methods inherited from interface com.here.platform.location.core.geospatial.LineStringOperations
PointGeoCoordinateOperations, points
-
Method Details
-
cumulativeChunkLengths
The sum of the length of each segment geometry chunk and the lengths of all previous chunks in a segment's geometry, in meters.For example, consider a line string with three points (two chunks). Assuming the distance between points 0 and 1 is 32 m and the distance between points 1 and 2 is 64 m. Then, the cumulative chunk lengths of this line string would be LengthSeq(32.0, 96.0)
-