Enum Class TLspRulerController.MeasureMode

java.lang.Object
java.lang.Enum<TLspRulerController.MeasureMode>
com.luciad.view.lightspeed.controller.ruler.TLspRulerController.MeasureMode
All Implemented Interfaces:
Serializable, Comparable<TLspRulerController.MeasureMode>, Constable
Enclosing class:
TLspRulerController

public static enum TLspRulerController.MeasureMode extends Enum<TLspRulerController.MeasureMode>
Enumeration that describes how the distances and azimuths are calculated. Switching between measure modes also changes the shape of the polylines.
Since:
2012.0
See Also:
  • Enum Constant Details

    • MEASURE_GEODETIC

      public static final TLspRulerController.MeasureMode MEASURE_GEODETIC

      The controller measures the geodesic (shortest) distance between points.

      A geodesic distance is measured ``as the crow flies''. It is the shortest distance between two points, taken the curvature of the Earth into account. It is also known as a great-circle distance.

      The measurements are defined in a default geodetic reference.

    • MEASURE_RHUMB

      public static final TLspRulerController.MeasureMode MEASURE_RHUMB

      The controller measures the shortest rhumbline distance between points. A rhumbline distance measurement maintains a constant compass bearing or heading. The azimuth is set to that heading.

      Rhumblines are for example used to plan airplane flights or boat voyages.

      The measurements are defined in a default geodetic reference.

    • MEASURE_CARTESIAN

      public static final TLspRulerController.MeasureMode MEASURE_CARTESIAN

      The controller measures the Cartesian distance between points in the world reference of the view. A Cartesian distance measurement disregards the curvature of the Earth, and is similar to using an actual ruler or a laser measurement device.

      This mode is especially useful in a 3D geocentric reference, where it can be used to evaluate straight line distances between points on the terrain. In 2D, this mode is of limited use, because most projections severely distort those distances

      This mode is typically used for measuring smaller-scale objects like trees and buildings.

  • Method Details

    • values

      public static TLspRulerController.MeasureMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TLspRulerController.MeasureMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null