Class VertexRange
java.lang.Object
com.here.platform.location.inmemory.graph.VertexRange
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
,scala.Serializable
Represents a continuous part of a vertex.
param: vertex the vertex itself param: start The start offset along the vertex. Must be in the range [0.0; 1.0] param: end The end offset along the vertex. Must be in the range [start; 1.0]
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
end()
double
start()
static <T> scala.collection.Seq<com.here.platform.location.core.graph.RangeBasedProperty<T>>
valuesIn
(com.here.platform.location.core.graph.RangeBasedPropertyMap<Vertex, T> map, VertexRange range) vertex()
double
Returns the absolute difference between the `start` and `end` offsets.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
-
VertexRange
-
-
Method Details
-
valuesIn
public static <T> scala.collection.Seq<com.here.platform.location.core.graph.RangeBasedProperty<T>> valuesIn(com.here.platform.location.core.graph.RangeBasedPropertyMap<Vertex, T> map, VertexRange range) -
vertex
-
start
public double start() -
end
public double end() -
vertexCoverage
public double vertexCoverage()Returns the absolute difference between the `start` and `end` offsets.
-