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
elementfrom its beginning tonearest
- Alphabetic
- By Inheritance
- ElementProjection
- Serializable
- Product
- Equals
- FractionOn
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
elementfrom 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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val distanceInMeters: Double
- val element: Element
- Definition Classes
- ElementProjection → FractionOn
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fraction: Double
The fraction specifies how far along the length of
elementthe point is located.The fraction specifies how far along the length of
elementthe 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[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getDistanceInMeters(): Double
- Annotations
- @BeanProperty()
- def getElement(): Element
- Annotations
- @BeanProperty()
- def getFraction(): Double
- Annotations
- @BeanProperty()
- def getNearest(): GeoCoordinate
- Annotations
- @BeanProperty()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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)