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
- Serializable
- Product
- Equals
- ReferencingLocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native()
- val endOffset: Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getEndOffset(): Double
- def getPath: List[Vertex]
- def getStartOffset(): Double
- 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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: Seq[Vertex]
- val startOffset: Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def vertexRanges: Seq[VertexRange]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()