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];
148 return GeoTessInterpolatorType::NATURAL_NEIGHBOR;
154 + (long)(marked.capacity() *
sizeof(bool) + nnTriangles.capacity() *
sizeof(int)
155 + edges.capacity() *
sizeof(
Edge*));
Enumeration of the interpolation algorithms supported by GeoTess including LINEAR,...
Top level class that manages the GeoTessMetaData, GeoTessGrid and GeoTessData that comprise a 3D Eart...
Information about an interpolated point at an arbitrary position in a model.
Implements the Natural Neighbor Interpolation algorithm for the geographic dimensions of the grid.
virtual ~GeoTessPositionNaturalNeighbor()
virtual void update2D(int tid)
virtual const GeoTessInterpolatorType & getInterpolatorType() const
GeoTessPositionNaturalNeighbor(GeoTessModel *model, const GeoTessInterpolatorType &radialType)
Stores information about the connection between two adjacent vertices which separates two neighboring...