|
| | OblateSpheroid (const Point3 &origin, double axisXY, double axisZ) |
| | Constructor. Required: axisXY > axisZ. More...
|
| |
| | OblateSpheroid (double axisXY, double axisZ) |
| | Constructor Required: axisXY > axisZ. More...
|
| |
| double | flattening () const |
| | Compute the flattening. More...
|
| |
| double | eccentricity () const |
| | Compute the eccentricity. More...
|
| |
| Point3 | spheroidalToCartesianCoordinates (double longitude, double latitude, double height) const |
| | Compute Cartesian coordinates from oblate spheroidal coordinates. Cartesian vector (1, 0, 0) points towards origin of spheroidal coordinate system. (TODO Discrepancy) More...
|
| |
| Point3 | spheroidalToCartesianCoordinates (GeoPoint3 geoPoint) const |
| | Compute Cartesian coordinates from oblate spheroidal coordinates. Cartesian vector (1, 0, 0) points towards origin of spheroidal coordinate system. (TODO Discrepancy) More...
|
| |
| GeoPoint3 | cartesianToSpheroidalCoordinates (double x, double y, double z, double precision=0) const |
| | Compute oblate spheroidal coordinates from Cartesian coordinates. Cartesian vector (-1, 0, 0) points towards origin of spheroidal coordinate system. (TODO Discrepancy) More...
|
| |
| GeoPoint3 | cartesianToSpheroidalCoordinates (Point3 point, double precision=0) const |
| | Compute oblate spheroidal coordinates from Cartesian coordinates. Cartesian vector (-1, 0, 0) points towards origin of spheroidal coordinate system. (TODO Discrepancy) More...
|
| |
| | Spheroid (const Point3 &origin, double axisXY, double axisZ) |
| | Constructor. More...
|
| |
| | Spheroid (double axisXY, double axisZ) |
| | Constructor. More...
|
| |
| | Spheroid (const Spheroid &other)=default |
| | Copy constructor. More...
|
| |
| Spheroid & | operator= (const Spheroid &other)=default |
| | Assignment operator. More...
|
| |
| virtual | ~Spheroid ()=default |
| | Destructor. More...
|
| |
| void | axisXY (double axisXY) |
| | Set X and Y axis length. More...
|
| |
| double | axisXY () const |
| | Get X and Y axis length. More...
|
| |
| | Ellipsoid (const Point3 &origin, double axisX, double axisY, double axisZ) |
| | Constructor. More...
|
| |
| | Ellipsoid (double axisX, double axisY, double axisZ) |
| | Constructor. More...
|
| |
| | Ellipsoid (const Ellipsoid &other)=default |
| | Copy constructor. More...
|
| |
| Ellipsoid & | operator= (const Ellipsoid &other)=default |
| | Assignment operator. More...
|
| |
| virtual | ~Ellipsoid ()=default |
| | Destructor. More...
|
| |
| void | origin (const Point3 &origin) |
| | Set origin of ellipsoid. More...
|
| |
| Point3 | origin () const |
| | Get origin of ellipsoid. More...
|
| |
| void | axisX (double axisX) |
| | Set the X axis length. More...
|
| |
| double | axisX () const |
| | Get the X axis length. More...
|
| |
| void | axisY (double axisY) |
| | Set the Y axis length. More...
|
| |
| double | axisY () const |
| | Get the Y axis length. More...
|
| |
| void | axisZ (double axisZ) |
| | Set the Z axis length. More...
|
| |
| double | axisZ () const |
| | Get the Z axis length. More...
|
| |
| double | distanceTo (const Point3 &point) const override |
| | Compute Euclidean distance to point. More...
|
| |
| Point3 | projectPoint (const Point3 &point) const override |
| | Project point onto ellipsoid. More...
|
| |
| bool | intersectLine (const Point3 &origin, const Vector3 &direction, Point3 &intersection) const override |
| | Intersect line with ellipsoid. More...
|
| |
| Vector3 | surfaceNormal (const Point3 &point) const |
| | Compute surface normal at given point. More...
|
| |
| Point3 | pointOnHorizon (const Point3 &point, double direction, bool poleLimit=false) |
| | Compute point on horizon in a given direction. More...
|
| |
| | Geometry ()=default |
| |
| virtual | ~Geometry ()=default |
| |
Oblate spheroid geometry.
An oblate spheroid is a flattened spheroid. The equatorial axis length is greater than the polar axis length. Such a spheroid is perfect for approximating the shape of the earh.