GeoTessCPP  2.1
Software to facilitate storage and retrieval of 3D information about the Earth.
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | Protected Member Functions | List of all members
geotess::GeoTessPositionLinear Class Reference

#include <GeoTessPositionLinear.h>

Inheritance diagram for geotess::GeoTessPositionLinear:
geotess::GeoTessPosition

Public Member Functions

 GeoTessPositionLinear (GeoTessModel *model, const GeoTessInterpolatorType &radialType)
 
virtual ~GeoTessPositionLinear ()
 
virtual const
GeoTessInterpolatorType
getInterpolatorType () const
 
- Public Member Functions inherited from geotess::GeoTessPosition
virtual ~GeoTessPosition ()
 
void addReference ()
 
void copyVector (double *u)
 
const double * getClosestVertex () const
 
void getCoefficients (map< int, double > &coefficients)
 
double getDepth ()
 
double getDepthBottom ()
 
double getDepthBottom (int layid)
 
double getDepthTop ()
 
double getDepthTop (int layid)
 
double getEarthRadius ()
 
double getErrorValue ()
 
double getHorizontalCoefficient (int index) const
 
const vector< double > & getHorizontalCoefficients () const
 
int getIndexOfClosestVertex () const
 
int getLayerId (double rad)
 
int getLayerId ()
 
double getLayerThickness (int layid)
 
double getLayerThickness ()
 
int getMaxTessLevel (int layid)
 
GeoTessModelgetModel ()
 
int getNVertices ()
 
double getRadius ()
 
double getRadiusBottom (int layid)
 
double getRadiusBottom ()
 
double getRadiusTop (int layid)
 
double getRadiusTop ()
 
int getReferenceCount ()
 
int getTessID ()
 
int getTessLevel () const
 
int getTessLevel (const int &tId)
 
int getTriangle ()
 
virtual double getValue (int attribute)
 
double * getVector ()
 
int getVertex (int index)
 
int getVertexIndex ()
 
const vector< int > & getVertices () const
 
void getWeights (map< int, double > &weights, double dkm)
 
bool isNotReferenced ()
 
bool isRadiusOutOfRangeAllowed ()
 
bool noEmptyProfiles ()
 
void removeReference ()
 
void set (double lat, double lon, double depth)
 
void set (const double *const uVector, const double &newRadius)
 
void set (int layid, double lat, double lon, double depth)
 
void set (int layid, const double *const uVector, double rad)
 
void setBottom (int layid, const double *const uVector)
 
void setBottom (int layid)
 
void setDepth (int layer, double depth)
 
void setDepth (double depth)
 
void setErrorValue (double errVal)
 
void setMaxTessLevel (int layid, int maxTess)
 
void setModel (GeoTessModel *newModel)
 
void setRadius (int layid, double rad)
 
void setRadius (double rad)
 
void setRadiusOutOfRangeAllowed (bool allowed)
 
void setTop (int layid, const double *const uVector)
 
void setTop (int layid)
 
string toString ()
 

Protected Member Functions

virtual void update2D (int tid)
 

Additional Inherited Members

- Static Public Member Functions inherited from geotess::GeoTessPosition
static GeoTessPositiongetGeoTessPosition (GeoTessModel *model)
 
static GeoTessPositiongetGeoTessPosition (GeoTessModel *model, const GeoTessInterpolatorType &horizontalType)
 
static GeoTessPositiongetGeoTessPosition (GeoTessModel *model, const GeoTessInterpolatorType &horizontalType, const GeoTessInterpolatorType &radialType)
 

Detailed Description

Implements linear interpolation in geographic dimensions of a grid.

Author
Sandy Ballard

Constructor & Destructor Documentation

geotess::GeoTessPositionLinear::GeoTessPositionLinear ( GeoTessModel model,
const GeoTessInterpolatorType radialType 
)

Standard constructor.

virtual geotess::GeoTessPositionLinear::~GeoTessPositionLinear ( )
virtual

Destructor.

Member Function Documentation

virtual const GeoTessInterpolatorType& geotess::GeoTessPositionLinear::getInterpolatorType ( ) const
inlinevirtual

Retrieve the type of interpolation that this GeoTessPosition object is configured to perform. Either InterpolatorType.LINEAR or InterpolatorType.NATURAL_NEIGHBOR.

Reimplemented from geotess::GeoTessPosition.

virtual void geotess::GeoTessPositionLinear::update2D ( int  tid)
inlineprotectedvirtual

Set vertices to the 3-element array that stores the corners of the triangle identified during the triangle walk algorithm. Horizontal coefficients are similarly set to the coefficients identified during triangle walk.

Exceptions
GeoTessException

The documentation for this class was generated from the following file: