Class SoGeoCoordinate

  • All Implemented Interfaces:
    SafeDisposable

    public class SoGeoCoordinate
    extends SoCoordinate3
    Geographic coordinates node. The SoGeoCoordinate node allows applications to build geometry using geographic coordinates

    The SoGeoCoordinate node specifies a list of coordinates in a spatial reference frame. It can be used in place of an SoCoordinate3 node. The geoSystem field is used to define the spatial reference frame and is described in 25.2.3 Specifying a spatial reference frame. The point array is used to contain the actual geospatial coordinates and should be provided in a format consistent with that specified for the particular geoSystem (see above). The geospatial coordinates are transparently transformed into a geocentric, curved-earth representation. For example, this would allow a geographer to create a world where all coordinates are specified in terms of latitude, longitude, and elevation.

    File format/default:

    GeoCoordinate {

      point []
      geoSystem ["GD","WE"]
    }

    Action behavior:

    SoGLRenderAction, SoGetBoundingBoxAction, SoCallbackAction

    • Field Detail

      • geoSystem

        public final SoMFString geoSystem
        Defines the spatial reference frame.
        Valid values are:
        • GC: Earth-fixed Geocentric with respect to the WGS84 ellipsoid.
        • GD: Geodetic spatial reference frame.
          An optional second string may be used to specify the ellipsoid used. If no ellipsoid is specified, then "WE" is assumed (the WGS84 ellipsoid).
        • UTM: Universal Transverse Mercator
          One further required argument must be supplied for UTM in order to specify the zone number (1..60). This is given in the form "Z<n>", where "<n>" is the zone number. An optional argument of "S" may be supplied in order to specify that the coordinates are in the southern hemisphere (otherwise, northern hemisphere will be assumed).
    • Constructor Detail

      • SoGeoCoordinate

        public SoGeoCoordinate()
        Constructor.