case class ElementProjection[Element](element: Element, nearest: GeoCoordinate, distanceInMeters: Double, fraction: Double) extends FractionOn[Element] with Product with Serializable
Encapsulates a geometry, the nearest point on the geometry to some input point, and the distance between the two.
See also com.here.platform.location.core.geospatial.ProximitySearch#search.
- Element
The type of the element with a geometry
- element
The element with a geometry
- nearest
The nearest coordinates on
element
's geometry to the input point- distanceInMeters
The distance between the input point and the nearest point on
element
's geometry- fraction
The fraction along the length of
element
from its beginning tonearest
- Alphabetic
- By Inheritance
- ElementProjection
- Serializable
- Serializable
- Product
- Equals
- FractionOn
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ElementProjection(element: Element, nearest: GeoCoordinate, distanceInMeters: Double, fraction: Double)
- element
The element with a geometry
- nearest
The nearest coordinates on
element
's geometry to the input point- distanceInMeters
The distance between the input point and the nearest point on
element
's geometry- fraction
The fraction along the length of
element
from its beginning tonearest
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 distanceInMeters: Double
-
val
element: Element
- Definition Classes
- ElementProjection → FractionOn
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
fraction: Double
The fraction specifies how far along the length of
element
the point is located.The fraction specifies how far along the length of
element
the point is located. It has a value between 0.0 (the point is at the start ofelement
) and 1.0 (the point is at the end ofelement
).- Definition Classes
- ElementProjection → FractionOn
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDistanceInMeters(): Double
- def getElement(): Element
- def getFraction(): Double
- def getNearest(): GeoCoordinate
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nearest: GeoCoordinate
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()