Class PiecewiseTmcCoverage
java.lang.Object
com.here.platform.location.referencing.tmc.PiecewiseTmcCoverage
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
,scala.Serializable
Generalized result of TMC reference creation.
This is needed as arbitrary LinearLocation
s are not necessarily
representable in TMC, but clients might still be interested in
partial results.
The following should hold:
-
Where the parts touch the start or the end of the original
LinearLocation
they will have appropriatePreciseTMCInformation
to match the originalLinearLocation
. - Those references that are dominated, that is fully covered by a longer reference, are not returned.
-
If references overlap, the first (in the direction of the original
LinearLocation
) one will be given the preference. - Should two references have the same coverage an arbitrary one will get eliminated.
-
The references are ordered in the direction of the originally requested
LinearLocation
.
param: parts Ordered parts of the original linear location, along with their optional TMC coverage.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPiecewiseTmcCoverage
(List<TmcCoverage> parts) PiecewiseTmcCoverage
(scala.collection.Seq<TmcCoverage> parts) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
PiecewiseTmcCoverage
-
PiecewiseTmcCoverage
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
parts
-
getParts
Returns ordered parts of the original linear location, along with their optional TMC coverage.
-