Report an error message. The severity may be specified as
MESSG: Print a message to the screen
WARNING: Print message with additional attention grabbing text
ERROR: Print message with additional attention grabbing text
FATAL: Print attention grabbing message and exit.
void vdiff(double *a, double *b, double
*a_minus_b);
int REAL_le(double a, double b);
int pntInTriangle2(double *pnt, double (*tri)[3],
double tol, int flag, int *mtype, int *locID);
Check if a point that is guaranteed to be in the plane of a triangle
is inside the triangle itself.
If flag = 1, check if point is strictly inside
flag = 0, check if point is inside or on
the boundary within a real tolerance 'tol'
Return value = 1 (inside), 0 (outside), -1 (on boundary)
If point is on the boundary, mtype indicates type of entity
it is on
locID indicates the local ID number of the vertex or edge it
is on
Check if a point is inside a tet
If flag = 1, check if point is strictly inside
flag = 0, check if point is inside or on
the booundary
within a real tolerance 'tol'
Return value = 1 (inside), 0 (outside), -1 (on boundary)
If point is on the boundary, mtype indicates type of entity
it is on
locID indicates the local ID number of the vertex or edge it
is on