Class

com.scalakml.kml

Point

Related Doc: package kml

Permalink

case class Point(extrude: Option[Boolean] = None, altitudeMode: Option[AltitudeMode] = None, coordinates: Option[Coordinate] = None, id: Option[String] = None, targetId: Option[String] = None, pointSimpleExtensionGroup: Seq[Any] = Nil, pointObjectExtensionGroup: Seq[Any] = Nil, geometrySimpleExtensionGroup: Seq[Any] = Nil, geometryObjectExtensionGroup: Seq[Any] = Nil, objectSimpleExtensionGroup: Seq[Any] = Nil) extends Geometry with Product with Serializable

A geographic location defined by longitude, latitude, and (optional) altitude. When a Point is contained by a Placemark, the point itself determines the position of the Placemark's name and icon. When a Point is extruded, it is connected to the ground with a line. This "tether" uses the current LineStyle.

extrude

Boolean value. Specifies whether to connect the point to the ground with a line. To extrude a Point, the value for <altitudeMode> must be either relativeToGround, relativeToSeaFloor, or absolute. The point is extruded toward the center of the Earth's sphere.

altitudeMode

Specifies how altitude components in the <coordinates> element are interpreted. Possible values are clampToGround - (default) Indicates to ignore an altitude specification (for example, in the <coordinates> tag). relativeToGround - Sets the altitude of the element relative to the actual ground elevation of a particular location. For example, if the ground elevation of a location is exactly at sea level and the altitude for a point is set to 9 meters, then the elevation for the icon of a point placemark elevation is 9 meters with this mode. However, if the same coordinate is set over a location where the ground elevation is 10 meters above sea level, then the elevation of the coordinate is 19 meters. A typical use of this mode is for placing telephone poles or a ski lift. absolute - Sets the altitude of the coordinate relative to sea level, regardless of the actual elevation of the terrain beneath the element. For example, if you set the altitude of a coordinate to 10 meters with an absolute altitude mode, the icon of a point placemark will appear to be at ground level if the terrain beneath is also 10 meters above sea level. If the terrain is 3 meters above sea level, the placemark will appear elevated above the terrain by 7 meters. A typical use of this mode is for aircraft placement.

coordinates

A single tuple consisting of floating point values for longitude, latitude, and altitude (in that order). Longitude and latitude values are in degrees, where longitude ≥ −180 and <= 180 latitude ≥ −90 and ≤ 90 altitude values (optional) are in meters above sea level Do not include spaces between the three values that describe a coordinate

Linear Supertypes
Serializable, Serializable, Product, Equals, Geometry, KmlObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Point
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Geometry
  7. KmlObject
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Point(extrude: Boolean, altMode: AltitudeMode, coordinates: Coordinate)

    Permalink
  2. new Point(altMode: AltitudeMode, coordinates: Coordinate)

    Permalink
  3. new Point(coordinates: Coordinate)

    Permalink
  4. new Point(altMode: AltitudeMode, lon: Double, lat: Double, alt: Double)

    Permalink
  5. new Point(lon: Double, lat: Double, alt: Double)

    Permalink
  6. new Point(lon: Double, lat: Double)

    Permalink
  7. new Point(extrude: Option[Boolean] = None, altitudeMode: Option[AltitudeMode] = None, coordinates: Option[Coordinate] = None, id: Option[String] = None, targetId: Option[String] = None, pointSimpleExtensionGroup: Seq[Any] = Nil, pointObjectExtensionGroup: Seq[Any] = Nil, geometrySimpleExtensionGroup: Seq[Any] = Nil, geometryObjectExtensionGroup: Seq[Any] = Nil, objectSimpleExtensionGroup: Seq[Any] = Nil)

    Permalink

    extrude

    Boolean value. Specifies whether to connect the point to the ground with a line. To extrude a Point, the value for <altitudeMode> must be either relativeToGround, relativeToSeaFloor, or absolute. The point is extruded toward the center of the Earth's sphere.

    altitudeMode

    Specifies how altitude components in the <coordinates> element are interpreted. Possible values are clampToGround - (default) Indicates to ignore an altitude specification (for example, in the <coordinates> tag). relativeToGround - Sets the altitude of the element relative to the actual ground elevation of a particular location. For example, if the ground elevation of a location is exactly at sea level and the altitude for a point is set to 9 meters, then the elevation for the icon of a point placemark elevation is 9 meters with this mode. However, if the same coordinate is set over a location where the ground elevation is 10 meters above sea level, then the elevation of the coordinate is 19 meters. A typical use of this mode is for placing telephone poles or a ski lift. absolute - Sets the altitude of the coordinate relative to sea level, regardless of the actual elevation of the terrain beneath the element. For example, if you set the altitude of a coordinate to 10 meters with an absolute altitude mode, the icon of a point placemark will appear to be at ground level if the terrain beneath is also 10 meters above sea level. If the terrain is 3 meters above sea level, the placemark will appear elevated above the terrain by 7 meters. A typical use of this mode is for aircraft placement.

    coordinates

    A single tuple consisting of floating point values for longitude, latitude, and altitude (in that order). Longitude and latitude values are in degrees, where longitude ≥ −180 and <= 180 latitude ≥ −90 and ≤ 90 altitude values (optional) are in meters above sea level Do not include spaces between the three values that describe a coordinate

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val altitudeMode: Option[AltitudeMode]

    Permalink

    Specifies how altitude components in the <coordinates> element are interpreted.

    Specifies how altitude components in the <coordinates> element are interpreted. Possible values are clampToGround - (default) Indicates to ignore an altitude specification (for example, in the <coordinates> tag). relativeToGround - Sets the altitude of the element relative to the actual ground elevation of a particular location. For example, if the ground elevation of a location is exactly at sea level and the altitude for a point is set to 9 meters, then the elevation for the icon of a point placemark elevation is 9 meters with this mode. However, if the same coordinate is set over a location where the ground elevation is 10 meters above sea level, then the elevation of the coordinate is 19 meters. A typical use of this mode is for placing telephone poles or a ski lift. absolute - Sets the altitude of the coordinate relative to sea level, regardless of the actual elevation of the terrain beneath the element. For example, if you set the altitude of a coordinate to 10 meters with an absolute altitude mode, the icon of a point placemark will appear to be at ground level if the terrain beneath is also 10 meters above sea level. If the terrain is 3 meters above sea level, the placemark will appear elevated above the terrain by 7 meters. A typical use of this mode is for aircraft placement.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val coordinates: Option[Coordinate]

    Permalink

    A single tuple consisting of floating point values for longitude, latitude, and altitude (in that order).

    A single tuple consisting of floating point values for longitude, latitude, and altitude (in that order). Longitude and latitude values are in degrees, where longitude ≥ −180 and <= 180 latitude ≥ −90 and ≤ 90 altitude values (optional) are in meters above sea level Do not include spaces between the three values that describe a coordinate

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val extrude: Option[Boolean]

    Permalink

    Boolean value.

    Boolean value. Specifies whether to connect the point to the ground with a line. To extrude a Point, the value for <altitudeMode> must be either relativeToGround, relativeToSeaFloor, or absolute. The point is extruded toward the center of the Earth's sphere.

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. val geometryObjectExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PointGeometry
  12. val geometrySimpleExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PointGeometry
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. val id: Option[String]

    Permalink
    Definition Classes
    PointGeometryKmlObject
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val objectSimpleExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PointGeometryKmlObject
  20. val pointObjectExtensionGroup: Seq[Any]

    Permalink
  21. val pointSimpleExtensionGroup: Seq[Any]

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. val targetId: Option[String]

    Permalink
    Definition Classes
    PointGeometryKmlObject
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Geometry

Inherited from KmlObject

Inherited from AnyRef

Inherited from Any

Ungrouped