Class

com.scalakml.kml

LookAt

Related Doc: package kml

Permalink

case class LookAt(range: Option[Double] = None, longitude: Option[Double] = None, latitude: Option[Double] = None, altitude: Option[Double] = None, heading: Option[Double] = None, tilt: Option[Double] = None, altitudeMode: Option[AltitudeMode] = None, id: Option[String] = None, targetId: Option[String] = None, lookAtSimpleExtensionGroup: Seq[Any] = Nil, lookAtObjectExtensionGroup: Seq[Any] = Nil, abstractViewSimpleExtensionGroup: Seq[Any] = Nil, abstractViewObjectExtensionGroup: Seq[Any] = Nil, objectSimpleExtensionGroup: Seq[Any] = Nil) extends AbstractView with Product with Serializable

Defines a virtual camera that is associated with any element derived from Feature. The LookAt element positions the "camera" in relation to the object that is being viewed. In Google Earth, the view "flies to" this LookAt viewpoint when the user double-clicks an item in the Places panel or double-clicks an icon in the 3D viewer.

range

Distance in meters from the point specified by <longitude>, <latitude>, and <altitude> to the LookAt position.

longitude

Longitude of the point the camera is looking at. Angular distance in degrees, relative to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees. Values east of the Meridian range from 0 to 180 degrees.

latitude

Latitude of the point the camera is looking at. Degrees north or south of the Equator (0 degrees). Values range from −90 degrees to 90 degrees.

altitude

Distance from the earth's surface, in meters. Interpreted according to the LookAt's altitude mode.

heading

Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See diagram below.) Values range from 0 to 360 degrees.

tilt

Angle between the direction of the LookAt position and the normal to the surface of the earth. Values range from 0 to 90 degrees. Values for <tilt> cannot be negative. A <tilt> value of 0 degrees indicates viewing from directly above. A <tilt> value of 90 degrees indicates viewing along the horizon.

altitudeMode

Specifies how the <altitude> specified for the LookAt point is interpreted. Possible values are as follows:

  • clampToGround - (default) Indicates to ignore the <altitude> specification and place the LookAt position on the ground.
  • relativeToGround - Interprets the <altitude> as a value in meters above the ground.
  • absolute - Interprets the <altitude> as a value in meters above sea level.
Linear Supertypes
Serializable, Serializable, Product, Equals, AbstractView, KmlObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LookAt
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AbstractView
  7. KmlObject
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LookAt(range: Double, longitude: Double, latitude: Double, altitude: Double, heading: Double, tilt: Double, altitudeMode: AltitudeMode, id: String)

    Permalink
  2. new LookAt(range: Double, longitude: Double, latitude: Double, altitude: Double)

    Permalink
  3. new LookAt(range: Double)

    Permalink
  4. new LookAt(range: Option[Double] = None, longitude: Option[Double] = None, latitude: Option[Double] = None, altitude: Option[Double] = None, heading: Option[Double] = None, tilt: Option[Double] = None, altitudeMode: Option[AltitudeMode] = None, id: Option[String] = None, targetId: Option[String] = None, lookAtSimpleExtensionGroup: Seq[Any] = Nil, lookAtObjectExtensionGroup: Seq[Any] = Nil, abstractViewSimpleExtensionGroup: Seq[Any] = Nil, abstractViewObjectExtensionGroup: Seq[Any] = Nil, objectSimpleExtensionGroup: Seq[Any] = Nil)

    Permalink

    range

    Distance in meters from the point specified by <longitude>, <latitude>, and <altitude> to the LookAt position.

    longitude

    Longitude of the point the camera is looking at. Angular distance in degrees, relative to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees. Values east of the Meridian range from 0 to 180 degrees.

    latitude

    Latitude of the point the camera is looking at. Degrees north or south of the Equator (0 degrees). Values range from −90 degrees to 90 degrees.

    altitude

    Distance from the earth's surface, in meters. Interpreted according to the LookAt's altitude mode.

    heading

    Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See diagram below.) Values range from 0 to 360 degrees.

    tilt

    Angle between the direction of the LookAt position and the normal to the surface of the earth. Values range from 0 to 90 degrees. Values for <tilt> cannot be negative. A <tilt> value of 0 degrees indicates viewing from directly above. A <tilt> value of 90 degrees indicates viewing along the horizon.

    altitudeMode

    Specifies how the <altitude> specified for the LookAt point is interpreted. Possible values are as follows:

    • clampToGround - (default) Indicates to ignore the <altitude> specification and place the LookAt position on the ground.
    • relativeToGround - Interprets the <altitude> as a value in meters above the ground.
    • absolute - Interprets the <altitude> as a value in meters above sea level.

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 abstractViewObjectExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    LookAtAbstractView
  5. val abstractViewSimpleExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    LookAtAbstractView
  6. val altitude: Option[Double]

    Permalink

    Distance from the earth's surface, in meters.

    Distance from the earth's surface, in meters. Interpreted according to the LookAt's altitude mode.

    Definition Classes
    LookAtAbstractView
  7. val altitudeMode: Option[AltitudeMode]

    Permalink

    Specifies how the <altitude> specified for the LookAt point is interpreted.

    Specifies how the <altitude> specified for the LookAt point is interpreted. Possible values are as follows:

    • clampToGround - (default) Indicates to ignore the <altitude> specification and place the LookAt position on the ground.
    • relativeToGround - Interprets the <altitude> as a value in meters above the ground.
    • absolute - Interprets the <altitude> as a value in meters above sea level.
    Definition Classes
    LookAtAbstractView
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val heading: Option[Double]

    Permalink

    Direction (that is, North, South, East, West), in degrees.

    Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See diagram below.) Values range from 0 to 360 degrees.

    Definition Classes
    LookAtAbstractView
  14. val id: Option[String]

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

    Permalink
    Definition Classes
    Any
  16. val latitude: Option[Double]

    Permalink

    Latitude of the point the camera is looking at.

    Latitude of the point the camera is looking at. Degrees north or south of the Equator (0 degrees). Values range from −90 degrees to 90 degrees.

    Definition Classes
    LookAtAbstractView
  17. val longitude: Option[Double]

    Permalink

    Longitude of the point the camera is looking at.

    Longitude of the point the camera is looking at. Angular distance in degrees, relative to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees. Values east of the Meridian range from 0 to 180 degrees.

    Definition Classes
    LookAtAbstractView
  18. val lookAtObjectExtensionGroup: Seq[Any]

    Permalink
  19. val lookAtSimpleExtensionGroup: Seq[Any]

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    LookAtAbstractViewKmlObject
  24. val range: Option[Double]

    Permalink

    Distance in meters from the point specified by <longitude>, <latitude>, and <altitude> to the LookAt position.

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

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

    Permalink
    Definition Classes
    LookAtAbstractViewKmlObject
  27. val tilt: Option[Double]

    Permalink

    Angle between the direction of the LookAt position and the normal to the surface of the earth.

    Angle between the direction of the LookAt position and the normal to the surface of the earth. Values range from 0 to 90 degrees. Values for <tilt> cannot be negative. A <tilt> value of 0 degrees indicates viewing from directly above. A <tilt> value of 90 degrees indicates viewing along the horizon.

    Definition Classes
    LookAtAbstractView
  28. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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 AbstractView

Inherited from KmlObject

Inherited from AnyRef

Inherited from Any

Ungrouped