Class PiecewiseTmcCoverage
java.lang.Object
com.here.platform.location.referencing.tmc.PiecewiseTmcCoverage
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
Generalized result of TMC reference creation.
This is needed as arbitrary LinearLocations 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
LinearLocationthey will have appropriatePreciseTMCInformationto 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.immutable.Seq<TmcCoverage> parts) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, 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.
-