This class implements a base class for all triangle classes.
More...
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: