case class LinearLocation(path: Seq[Vertex], startOffset: Double = 0.0, endOffset: Double = 1.0) extends ReferencingLocation with Product with Serializable
A path in the road network expressed in the Location Library's data model.
- path
The vertices for this location. The vertices are expected to be connected and traversable in the order in which they appear.
- startOffset
A relative offset for the first vertex, indicating where the linear location starts. It must be in the [0.0; 1.0) range. 0.0, for example, indicates that the linear location starts at the beginning of the vertex.
- endOffset
A relative offset for the last vertex, indicating where the linear location ends. It must be in the (0.0; 1.0] range. 1.0, for example, indicates that the whole vertex is part of the location.
- Alphabetic
- By Inheritance
- LinearLocation
- Serializable
- Product
- Equals
- ReferencingLocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LinearLocation(path: List[Vertex], startOffset: Double, endOffset: Double)
- new LinearLocation(path: Seq[Vertex], startOffset: Double = 0.0, endOffset: Double = 1.0)
- path
The vertices for this location. The vertices are expected to be connected and traversable in the order in which they appear.
- startOffset
A relative offset for the first vertex, indicating where the linear location starts. It must be in the [0.0; 1.0) range. 0.0, for example, indicates that the linear location starts at the beginning of the vertex.
- endOffset
A relative offset for the last vertex, indicating where the linear location ends. It must be in the (0.0; 1.0] range. 1.0, for example, indicates that the whole vertex is part of the location.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val endOffset: Double
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getEndOffset(): Double
- Annotations
- @BeanProperty()
- def getPath: List[Vertex]
- def getStartOffset(): Double
- Annotations
- @BeanProperty()
- def getVertexRanges: List[VertexRange]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val path: Seq[Vertex]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val startOffset: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def vertexRanges: Seq[VertexRange]
- Annotations
- @nowarn()
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)