GeoTessCPP  2.6.1
Software to facilitate storage and retrieval of 3D information about the Earth.
All Classes Namespaces Files Functions Variables Typedefs Friends Macros
geotess::GeoTessProfileSurfaceEmpty Class Reference

A Profile object that defines a single Data object and no radius value. More...

#include <GeoTessProfileSurfaceEmpty.h>

Inheritance diagram for geotess::GeoTessProfileSurfaceEmpty:
geotess::GeoTessProfile

Public Member Functions

 GeoTessProfileSurfaceEmpty ()
 
virtual int class_size () const
 
virtual LONG_INT getMemory ()
 
virtual const GeoTessProfileTypegetType () const
 
virtual bool operator== (const GeoTessProfile &p) const
 
virtual double getValue (int attributeIndex, int nodeIndex) const
 
virtual double getValueTop (int attributeIndex) const
 
virtual bool isNaN (int nodeIndex, int attributeIndex)
 
virtual double getValue (const GeoTessInterpolatorType &rInterpType, int attributeIndex, double radius, bool allowRadiusOutOfRange) const
 
virtual void setData (const vector< GeoTessData * > &inData)
 
virtual void setData (int index, GeoTessData *inData)
 
virtual GeoTessData ** getData ()
 
virtual GeoTessDatagetData (int i)
 
virtual const GeoTessDatagetData (int i) const
 
virtual GeoTessDatagetDataTop ()
 
virtual const GeoTessDatagetDataTop () const
 
virtual GeoTessDatagetDataBottom ()
 
virtual const GeoTessDatagetDataBottom () const
 
virtual float getRadius (int i) const
 
virtual void setRadii (const vector< float > &newRadii)
 
virtual void setRadius (int index, float radius)
 
virtual float getRadiusTop () const
 
virtual float getRadiusBottom () const
 
virtual int getNRadii () const
 
virtual int getNData () const
 
virtual float * getRadii ()
 
- Public Member Functions inherited from geotess::GeoTessProfile
double getValue (const vector< int > &nodeIds, const vector< double > &coefficients, int attributeIndex) const
 
virtual double getValueBottom (int attributeIndex) const
 
double getThickness ()
 
int getRadiusIndex (double radius) const
 
virtual int getRadiusIndex (double radius, int jlo) const
 
virtual double getInterpolationCoefficient (int i, double radius, bool allowOutOfRange) const
 
virtual int getPointIndex (int nodeIndex) const
 
virtual int findClosestRadiusIndex (double radius) const
 

Static Public Member Functions

static string class_name ()
 
- Static Public Member Functions inherited from geotess::GeoTessProfile
static GeoTessProfilenewProfile (const vector< float > &radii, vector< GeoTessData * > &data)
 
static GeoTessProfilenewProfile (const vector< float > &radii, vector< vector< double > > &data)
 
static GeoTessProfilenewProfile (const vector< float > &radii, vector< vector< float > > &data)
 
static GeoTessProfilenewProfile (const vector< float > &radii, vector< vector< LONG_INT > > &data)
 
static GeoTessProfilenewProfile (const vector< float > &radii, vector< vector< int > > &data)
 
static GeoTessProfilenewProfile (const vector< float > &radii, vector< vector< short > > &data)
 
static GeoTessProfilenewProfile (const vector< float > &radii, vector< vector< byte > > &data)
 
static GeoTessProfilenewProfile (float *radii, const int &nRadii, GeoTessData **data, const int &nData)
 
static GeoTessProfilenewProfile (float *radii, const int &nRadii, double **values, const int &nNodes, const int &nAttributes)
 
static GeoTessProfilenewProfile (float *radii, const int &nRadii, float **values, const int &nNodes, const int &nAttributes)
 
static GeoTessProfilenewProfile (float *radii, const int &nRadii, LONG_INT **values, const int &nNodes, const int &nAttributes)
 
static GeoTessProfilenewProfile (float *radii, const int &nRadii, int **values, const int &nNodes, const int &nAttributes)
 
static GeoTessProfilenewProfile (float *radii, const int &nRadii, short **values, const int &nNodes, const int &nAttributes)
 
static GeoTessProfilenewProfile (float *radii, const int &nRadii, byte **values, const int &nNodes, const int &nAttributes)
 
static string class_name ()
 
static int class_count ()
 

Detailed Description

A Profile object that defines a single Data object and no radius value.

A Profile object used to support 2D models. It represents a single Data object and no radius value. ProfileSurfaceEmpty objects are incompatible with all other Profile types in the sense that a model that contains any ProfileSurfaceEmpty objects must be made up entirely of ProfileSurfaceEmpty objects.

Definition at line 77 of file GeoTessProfileSurfaceEmpty.h.

Constructor & Destructor Documentation

◆ GeoTessProfileSurfaceEmpty()

geotess::GeoTessProfileSurfaceEmpty::GeoTessProfileSurfaceEmpty ( )
inline

Definition at line 80 of file GeoTessProfileSurfaceEmpty.h.

Member Function Documentation

◆ class_name()

static string geotess::GeoTessProfileSurfaceEmpty::class_name ( )
inlinestatic

Returns the class name.

Definition at line 85 of file GeoTessProfileSurfaceEmpty.h.

◆ class_size()

virtual int geotess::GeoTessProfileSurfaceEmpty::class_size ( ) const
inlinevirtual

Returns the class size.

Reimplemented from geotess::GeoTessProfile.

Definition at line 90 of file GeoTessProfileSurfaceEmpty.h.

◆ getData() [1/3]

virtual GeoTessData** geotess::GeoTessProfileSurfaceEmpty::getData ( )
inlinevirtual

Retrieve a reference to all of the Data obects associated with this Profile.

Reimplemented from geotess::GeoTessProfile.

Definition at line 159 of file GeoTessProfileSurfaceEmpty.h.

◆ getData() [2/3]

virtual GeoTessData* geotess::GeoTessProfileSurfaceEmpty::getData ( int  i)
inlinevirtual

Retrieve a reference the i'th Data object

Reimplemented from geotess::GeoTessProfile.

Definition at line 171 of file GeoTessProfileSurfaceEmpty.h.

◆ getData() [3/3]

virtual const GeoTessData& geotess::GeoTessProfileSurfaceEmpty::getData ( int  i) const
inlinevirtual

Retrieve a reference the i'th Data object

Reimplemented from geotess::GeoTessProfile.

Definition at line 183 of file GeoTessProfileSurfaceEmpty.h.

◆ getDataBottom() [1/2]

virtual GeoTessData* geotess::GeoTessProfileSurfaceEmpty::getDataBottom ( )
inlinevirtual

Get the Data object at the bottom of the profile.

Reimplemented from geotess::GeoTessProfile.

Definition at line 218 of file GeoTessProfileSurfaceEmpty.h.

◆ getDataBottom() [2/2]

virtual const GeoTessData& geotess::GeoTessProfileSurfaceEmpty::getDataBottom ( ) const
inlinevirtual

Get the Data object at the bottom of the profile.

Reimplemented from geotess::GeoTessProfile.

Definition at line 230 of file GeoTessProfileSurfaceEmpty.h.

◆ getDataTop() [1/2]

virtual GeoTessData* geotess::GeoTessProfileSurfaceEmpty::getDataTop ( )
inlinevirtual

Get the Data object at the top of the profile.

Reimplemented from geotess::GeoTessProfile.

Definition at line 194 of file GeoTessProfileSurfaceEmpty.h.

◆ getDataTop() [2/2]

virtual const GeoTessData& geotess::GeoTessProfileSurfaceEmpty::getDataTop ( ) const
inlinevirtual

Get the Data object at the top of the profile.

Reimplemented from geotess::GeoTessProfile.

Definition at line 206 of file GeoTessProfileSurfaceEmpty.h.

◆ getMemory()

virtual LONG_INT geotess::GeoTessProfileSurfaceEmpty::getMemory ( )
inlinevirtual

Reimplemented from geotess::GeoTessProfile.

Definition at line 92 of file GeoTessProfileSurfaceEmpty.h.

◆ getNData()

virtual int geotess::GeoTessProfileSurfaceEmpty::getNData ( ) const
inlinevirtual

Get the number of Data objects that comprise this profile.

Reimplemented from geotess::GeoTessProfile.

Definition at line 271 of file GeoTessProfileSurfaceEmpty.h.

◆ getNRadii()

virtual int geotess::GeoTessProfileSurfaceEmpty::getNRadii ( ) const
inlinevirtual

Get the number of radii that comprise this profile.

Reimplemented from geotess::GeoTessProfile.

Definition at line 266 of file GeoTessProfileSurfaceEmpty.h.

◆ getRadii()

virtual float* geotess::GeoTessProfileSurfaceEmpty::getRadii ( )
inlinevirtual

Returns NULL

Reimplemented from geotess::GeoTessProfile.

Definition at line 276 of file GeoTessProfileSurfaceEmpty.h.

◆ getRadius()

virtual float geotess::GeoTessProfileSurfaceEmpty::getRadius ( int  i) const
inlinevirtual

Get the i'th radius value in this profile in km. Radii are in order of increasing radius.

Reimplemented from geotess::GeoTessProfile.

Definition at line 243 of file GeoTessProfileSurfaceEmpty.h.

◆ getRadiusBottom()

virtual float geotess::GeoTessProfileSurfaceEmpty::getRadiusBottom ( ) const
inlinevirtual

Get the radius at the bottom of the profile, in km.

Reimplemented from geotess::GeoTessProfile.

Definition at line 261 of file GeoTessProfileSurfaceEmpty.h.

◆ getRadiusTop()

virtual float geotess::GeoTessProfileSurfaceEmpty::getRadiusTop ( ) const
inlinevirtual

Get the radius at the top of the profile, in km.

Reimplemented from geotess::GeoTessProfile.

Definition at line 256 of file GeoTessProfileSurfaceEmpty.h.

◆ getType()

virtual const GeoTessProfileType& geotess::GeoTessProfileSurfaceEmpty::getType ( ) const
inlinevirtual

Returns ProfileType (SURFACE).

Returns
ProfileType (SURFACE).

Reimplemented from geotess::GeoTessProfile.

Definition at line 99 of file GeoTessProfileSurfaceEmpty.h.

◆ getValue() [1/2]

virtual double geotess::GeoTessProfileSurfaceEmpty::getValue ( const GeoTessInterpolatorType rInterpType,
int  attributeIndex,
double  radius,
bool  allowRadiusOutOfRange 
) const
inlinevirtual

Retrieve the value of the specified attribute interpolated at the specified radius. Ignore allowRadiusOutOfRange.

Reimplemented from geotess::GeoTessProfile.

Definition at line 140 of file GeoTessProfileSurfaceEmpty.h.

◆ getValue() [2/2]

virtual double geotess::GeoTessProfileSurfaceEmpty::getValue ( int  attributeIndex,
int  nodeIndex 
) const
inlinevirtual

Retrieve the value of the specified attribute from this profile at the specified node index

Parameters
attributeIndex
nodeIndex
Returns
double

Reimplemented from geotess::GeoTessProfile.

Definition at line 114 of file GeoTessProfileSurfaceEmpty.h.

◆ getValueTop()

virtual double geotess::GeoTessProfileSurfaceEmpty::getValueTop ( int  attributeIndex) const
inlinevirtual

Retrieve the value of the specified attribute at the top of the layer.

Parameters
attributeIndex
Returns
double

Reimplemented from geotess::GeoTessProfile.

Definition at line 122 of file GeoTessProfileSurfaceEmpty.h.

◆ isNaN()

virtual bool geotess::GeoTessProfileSurfaceEmpty::isNaN ( int  nodeIndex,
int  attributeIndex 
)
inlinevirtual

Return true if the specified Data value is NaN. For doubles and floats, this means not NaN. For bytes, shorts, ints and longs, always returns false since there is no value that is NaN.

Parameters
nodeIndex
attributeIndex
Returns
true if the specified Data value is NaN.

Reimplemented from geotess::GeoTessProfile.

Definition at line 134 of file GeoTessProfileSurfaceEmpty.h.

◆ operator==()

virtual bool geotess::GeoTessProfileSurfaceEmpty::operator== ( const GeoTessProfile p) const
inlinevirtual

Return true if the input Profile object (p) equals this Profile object.

Reimplemented from geotess::GeoTessProfile.

Definition at line 104 of file GeoTessProfileSurfaceEmpty.h.

◆ setData() [1/2]

virtual void geotess::GeoTessProfileSurfaceEmpty::setData ( const vector< GeoTessData * > &  inData)
inlinevirtual

Resets the data object to the new input data

Reimplemented from geotess::GeoTessProfile.

Definition at line 148 of file GeoTessProfileSurfaceEmpty.h.

◆ setData() [2/2]

virtual void geotess::GeoTessProfileSurfaceEmpty::setData ( int  index,
GeoTessData inData 
)
inlinevirtual

Resets the data object at index to the new input data.

Reimplemented from geotess::GeoTessProfile.

Definition at line 153 of file GeoTessProfileSurfaceEmpty.h.

◆ setRadii()

virtual void geotess::GeoTessProfileSurfaceEmpty::setRadii ( const vector< float > &  newRadii)
inlinevirtual

Replace the radii currently associated with this Profile with new values.

Reimplemented from geotess::GeoTessProfile.

Definition at line 248 of file GeoTessProfileSurfaceEmpty.h.

◆ setRadius()

virtual void geotess::GeoTessProfileSurfaceEmpty::setRadius ( int  index,
float  radius 
)
inlinevirtual

Replace the radius at the specified nodeIndex.

Reimplemented from geotess::GeoTessProfile.

Definition at line 250 of file GeoTessProfileSurfaceEmpty.h.


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