final case class Point(type: String = "Point", bbox: Option[Seq[Double]] = None, coordinates: Option[Seq[Double]] = None) extends GeometryItem with Product with Serializable
Defines the geometry type 'Point'
- type
the type as 'Point'
- bbox
the bounding box of the Point geometry; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
- coordinates
the coordinates defining Point geometry; for meaning of coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
- Alphabetic
- By Inheritance
- Point
- Serializable
- Serializable
- Product
- Equals
- GeometryItem
- Geometry
- GeoJson
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Point(type: String = "Point", bbox: Option[Seq[Double]] = None, coordinates: Option[Seq[Double]] = None)
- type
the type as 'Point'
- bbox
the bounding box of the Point geometry; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
- coordinates
the coordinates defining Point geometry; for meaning of coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
Type Members
-
type
Coordinates = List[Double]
- Definition Classes
- Point → GeometryItem
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
- val bbox: Option[Seq[Double]]
-
def
checkBbox(bbox: Option[Seq[Double]]): Unit
Checks if the bounding box is valid.
Checks if the bounding box is valid.
- bbox
the bounding box geometry; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
- Attributes
- protected
- Definition Classes
- Geometry
-
def
checkCoordinate(coord: Seq[Double]): Unit
Checks if the coordinate is valid.
Checks if the coordinate is valid.
- coord
the coordinate which has parameters x, y, and optionally z
- Attributes
- protected
- Definition Classes
- Geometry
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val coordinates: Option[Seq[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] )
-
def
getBbox: List[Double]
- returns
the bounding box of the Point geometry
- Definition Classes
- Point → GeometryItem → Geometry
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getCoordinates: Coordinates
- returns
the coordinates of the Point geometry
- Definition Classes
- Point → GeometryItem
-
def
getType: String
- returns
the type of geometry
- Definition Classes
- Point → GeometryItem → Geometry
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJson: String
- returns
the JSON string of the object
- Definition Classes
- GeoJson
-
def
toPrettyJson: String
- returns
the JSON string of the object in pretty format
- Definition Classes
- GeoJson
- val type: String
-
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()