Itasca C++ Interface
|
Interface to face weight, used to define the location of a gridpoint in a given face. More...
#include <ifaceweight.h>
Public Member Functions | |
virtual DVect | getVector (std::array< DVect, numGPperFace_ > &vert) const =0 |
virtual void | set (const std::array< double, numGPperFace_ > &w)=0 |
Set the four weights. Does not check is the sum of the weight is 1.0;. | |
virtual double | getWeight (uint32 i) const =0 |
Returns the weigth for a given vertex. Parameter by must be in the range 0 to numGPperFace_-1;. | |
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.