Packages

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 to nearest

Linear Supertypes
Serializable, Serializable, Product, Equals, FractionOn[Element], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElementProjection
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FractionOn
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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 to nearest

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val distanceInMeters: Double
  7. val element: Element
    Definition Classes
    ElementProjectionFractionOn
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. 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 of element) and 1.0 (the point is at the end of element).

    Definition Classes
    ElementProjectionFractionOn
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getDistanceInMeters(): Double
  13. def getElement(): Element
  14. def getFraction(): Double
  15. def getNearest(): GeoCoordinate
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val nearest: GeoCoordinate
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FractionOn[Element]

Inherited from AnyRef

Inherited from Any

Ungrouped