GeoTessCPP
2.2
Software to facilitate storage and retrieval of 3D information about the Earth.
|
Defines a "surface" in a model that resides at a constant radius. More...
#include <GeoTessHorizonRadius.h>
Public Member Functions | |
GeoTessHorizonRadius (const double &r) | |
Constructor for a Horizon object that represents a constant radius within the Earth. More... | |
GeoTessHorizonRadius (const double &r, const int &lyrIndex) | |
Constructor for a Horizon object that represents a constant radius in the Earth, in km. More... | |
GeoTessHorizonRadius (GeoTessHorizonRadius &other) | |
Copy constructor. More... | |
virtual | ~GeoTessHorizonRadius () |
Destructor. More... | |
virtual string | class_name () |
virtual double | getRadius (const double *position, GeoTessProfile **profiles) |
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. More... | |
virtual double | getRadius (GeoTessPosition &position) |
Return the radius of the Horizon at the position of the specified GeoTessPosition object. More... | |
virtual double | getValue () |
HorizonDepth objects return depth, HorizonRadius object return radius, and HorizonLayer object return fraction. More... | |
GeoTessHorizonRadius & | operator= (const GeoTessHorizonRadius &other) |
Overloaded assignment operator. More... | |
virtual string | str () |
![]() | |
GeoTessHorizon (const int &lyrIndex) | |
Default constructor. More... | |
virtual | ~GeoTessHorizon () |
virtual int | getLayerIndex () |
Retrieve the index of the layer that was specified at construction. More... | |
Additional Inherited Members | |
![]() | |
int | layerIndex |
If layerIndex is >= 0 and < the number of layers represented in a model, then the returned radius will be constrained to be between the top and bottom of the specified layer. More... | |
Defines a "surface" in a model that resides at a constant radius.
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.