This class implements a base class for all triangle classes.
More...
#include <Triangle.h>
|
static bool | isBarycentricInside (const VectorT3< T > &barycentricPoint) |
| Returns whether a given point, specified as barycentric coordinate, lies inside a triangle.
|
|
static bool | isValidBarycentric (const VectorT3< T > &barycentric, const T &epsilon=NumericT< T >::eps()) |
| Returns whether the a barycentric coordinate is valid.
|
|
template<typename T>
class Ocean::TriangleT< T >
This class implements a base class for all triangle classes.
- Template Parameters
-
T | Data type used to represent coordinates |
- See also
- TriangleF, TriangleD, TriangleT2, TriangleT3.
◆ isBarycentricInside()
Returns whether a given point, specified as barycentric coordinate, lies inside a triangle.
- Parameters
-
barycentricPoint | Point to be checked |
- Returns
- True, if so
◆ isValidBarycentric()
Returns whether the a barycentric coordinate is valid.
- Parameters
-
barycentric | Barycentric coordinate to test |
epsilon | Accuracy epsilon, with range [0, infinity) |
- Returns
- True, if so
The documentation for this class was generated from the following file: