Itasca C++ Interface
|
Interface to face weight, used to define the location of a gridpoint in a given face. More...
#include <iquadweight.h>
Public Member Functions | |
virtual DVect3 | getVector (const DVect3 &dvA, const DVect3 &dvB, const DVect3 &dvC, const DVect3 &dvD) const =0 |
virtual double | getWeight (quint32 by) const =0 |
Returns the weigth for a given vertex. Parameter by must be in the range 0 to 3. | |
virtual void | set (const double &w1, const double &w2, const double &w3, const double &w4)=0 |
Set the four weights. Does not check is the sum of the weight is 1.0;. | |
Interface to face weight, used to define the location of a gridpoint in a given face.
Quadrilateral weighting function class
Tracks weighting function for point in four sided polygon.
Also tracks whether the point in question is inside the polygon, and whether the polygon is concave or not.
|
pure virtual |
Given four vectors representing values at the vertices of the face, computes a vector using the current vertex weights.