36 #ifndef GEOTESSPOSITIONNATURALNEIGHBOR_OBJECT_H
37 #define GEOTESSPOSITIONNATURALNEIGHBOR_OBJECT_H
98 vector<int> nnTriangles;
104 double const*
const* gridVrtcs;
106 bool isNNTriangle(
const int& t)
108 const double* center = grid.getCircumCenter(t);
111 return GeoTessUtils::dot(center, unitVector) > center[3];
128 virtual void update2D(
int tid);
148 return GeoTessInterpolatorType::NATURAL_NEIGHBOR;
154 + (long)(marked.capacity() *
sizeof(bool) + nnTriangles.capacity() *
sizeof(int)
155 + edges.capacity() *
sizeof(
Edge*));
163 #endif // GEOTESSPOSITIONNATURALNEIGHBOR_OBJECT_H
Information about an interpolated point at an arbitrary position in a model.
Definition: GeoTessPosition.h:101
Definition: ArrayReuse.h:55
Enumeration of the interpolation algorithms supported by GeoTess including LINEAR, NATURAL_NEIGHBOR and CUBIC_SPLINE.
Definition: GeoTessInterpolatorType.h:71
virtual const GeoTessInterpolatorType & getInterpolatorType() const
Retrieve the type of interpolation that this GeoTessPosition object is configured to perform...
Definition: GeoTessPositionNaturalNeighbor.h:147
virtual long getMemory()
Retrieve the amount of memory consumed by this GeoTessPosition object.
Definition: GeoTessPositionNaturalNeighbor.h:151
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 GeoTessData that comprise a 3D Eart...
Definition: GeoTessModel.h:119
Stores information about the connection between two adjacent vertices which separates two neighboring...
Definition: GeoTessGrid.h:101
#define GEOTESS_EXP_IMP
Definition: CPPGlobals.h:71