Class VertexRange

java.lang.Object
com.here.platform.location.inmemory.graph.VertexRange
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class VertexRange extends Object implements scala.Product, 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
    Constructor
    Description
    VertexRange(Vertex vertex, double start, double end)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    end()
     
    double
     
    static <T> scala.collection.immutable.Seq<com.here.platform.location.core.graph.RangeBasedProperty<T>>
    valuesIn(com.here.platform.location.core.graph.RangeBasedPropertyMap<Vertex,T> map, VertexRange range)
     
     
    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, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • VertexRange

      public VertexRange(Vertex vertex, double start, double end)
  • Method Details

    • valuesIn

      public static <T> scala.collection.immutable.Seq<com.here.platform.location.core.graph.RangeBasedProperty<T>> valuesIn(com.here.platform.location.core.graph.RangeBasedPropertyMap<Vertex,T> map, VertexRange range)
    • vertex

      public Vertex vertex()
    • start

      public double start()
    • end

      public double end()
    • vertexCoverage

      public double vertexCoverage()
      Returns the absolute difference between the `start` and `end` offsets.