GeoTessCPP
2.1
Software to facilitate storage and retrieval of 3D information about the Earth.
|
#include <GeoTessHorizonRadius.h>
Public Member Functions | |
GeoTessHorizonRadius (const double &r) | |
GeoTessHorizonRadius (const double &r, const int &lyrIndex) | |
GeoTessHorizonRadius (GeoTessHorizonRadius &other) | |
virtual | ~GeoTessHorizonRadius () |
virtual string | class_name () |
virtual double | getRadius (const double *position, GeoTessProfile **profiles) |
virtual double | getRadius (GeoTessPosition &position) |
virtual double | getValue () |
GeoTessHorizonRadius & | operator= (const GeoTessHorizonRadius &other) |
virtual string | str () |
![]() | |
GeoTessHorizon (const int &lyrIndex) | |
virtual | ~GeoTessHorizon () |
virtual int | getLayerIndex () |
Additional Inherited Members | |
![]() | |
int | layerIndex |
Defines a "surface" in a model that resides at a constant radius.
|
inline |
Constructor for a Horizon object that represents a constant radius within the Earth. Units are km.
Since the layerIndex is not specified, the radius is not constrained to be within any particular layer.
r | radius in km. |
|
inline |
Constructor for a Horizon object that represents a constant radius in the Earth, in km.
Since the layerIndex is specified, the radius will be constrained to be within the specified layer.
r | radius within the Earth, in km. |
lyrIndex | the index of the layer within which the radius will be constrained. |
|
inlinevirtual |
Destructor.
|
inline |
Copy constructor.
|
inlinevirtual |
Reimplemented from geotess::GeoTessHorizon.
|
inlinevirtual |
Return the radius of the Horizon at the specified geographic position and constrained by the specified array of Profiles, all of which are assumed to reside at the specified position.
position | the unit vector representing the position where the radius is to be determined. This should correspond to the position of the supplied array of Profiles. |
profiles | a 1D array of profiles at the specified position. The number of elements must be equal to the number of layers in the model with the first layer being the deepest (closest to the center of the Earth) and the last layer being the shallowest (farthest from the center of the Earth). |
Reimplemented from geotess::GeoTessHorizon.
|
inlinevirtual |
Return the radius of the Horizon at the position of the specified GeoTessPosition object.
position |
GeoTessException |
Reimplemented from geotess::GeoTessHorizon.
|
inlinevirtual |
HorizonDepth objects return depth, HorizonRadius object return radius, and HorizonLayer object return fraction.
Reimplemented from geotess::GeoTessHorizon.
|
inline |
Overloaded assignment operator
|
inlinevirtual |
Reimplemented from geotess::GeoTessHorizon.