WRAPPER_API GeodeticPoint()
WRAPPER_API GeodeticPoint(short dimensions)
WRAPPER_API GeodeticPoint(double longitude, double latitude)
WRAPPER_API GeodeticPoint(double longitude, double latitude, double height)
WRAPPER_API GeodeticPoint(const GeodeticPoint &source)
The GeodeticPoint constructor creates a new instance of the GeodeticPoint class. There are five signatures for this constructor.
The default constructor takes no arguments and produces a three-dimensional GeodeticPoint located at the origin of the coordinate system. The values of Latitude, Longitude, and Height are all 0. The AngularUnits used with Latitude and Longitude are degrees, and the LinearUnit used with Height is meters.
The second signature takes a single argument and produces a GeodeticPoint with a Dimensions value equal to the value of the argument. If the argument is a value other than 2 or 3, a GeoCalcException will be thrown. The values of Latitude, Longitude, and Height are all 0. The AngularUnits used with Latitude and Longitude are degrees, and the LinearUnit used with Height is meters.
The signature that takes two arguments produces a two-dimensional GeodeticPoint with a location specified by the arguments. The first argument gives the Longitude of the point in degrees and the second argument gives the Latitude of the point in degrees.
The signature that takes three arguments produces a three-dimensional GeodeticPoint with a location specified by the arguments. The first argument gives the Longitude of the point in degrees, the second argument gives the Latitude of the point in degrees, and the third argument gives the Height of the point in meters.
The final constructor is a copy-constructor, which produces a GeodeticPoint whose value matches the GeodeticPoint passed as argument.