36 #ifndef GEOTESSPOSITIONNATURALNEIGHBOR_OBJECT_H
37 #define GEOTESSPOSITIONNATURALNEIGHBOR_OBJECT_H
105 virtual void update2D(
int tid);
125 return GeoTessInterpolatorType::NATURAL_NEIGHBOR;
131 vector<int> nnTriangles;
134 double const*
const* gridVrtcs;
136 bool isNNTriangle(
const int& triangle)
138 const double* center = grid.getCircumCenter(triangle);
141 return GeoTessUtils::dot(center, unitVector) > center[3];
152 #endif // GEOTESSPOSITIONNATURALNEIGHBOR_OBJECT_H
Information about an interpolated point at an arbitrary position in a model.
Definition: GeoTessPosition.h:101
Enumeration of the interpolation algorithms supported by GeoTess including LINEAR, NATURAL_NEIGHBOR and CUBIC_SPLINE.
Definition: GeoTessInterpolatorType.h:71
virtual const GeoTessInterpolatorType & getInterpolatorType() const
Definition: GeoTessPositionNaturalNeighbor.h:124
Implements the Natural Neighbor Interpolation algorithm for the geographic dimensions of the grid...
Definition: GeoTessPositionNaturalNeighbor.h:93
Top level class that manages the GeoTessMetaData, GeoTessGrid and Data that comprise a 3D Earth model...
Definition: GeoTessModel.h:119
#define GEOTESS_EXP_IMP
Definition: CPPGlobals.h:71