|
Ocean
|
This class implements the base for all quadric object. More...
#include <Quadric.h>
Public Member Functions | |
| Quadric () | |
| Creates an invalid quadric. | |
| bool | isInside (const Vector3 &point) const |
| Returns whether a given point lies inside or on the surface of the cone. | |
| bool | isOnSurface (const Vector3 &point) const |
| Returns whether a given point lies on the surface of the cone. | |
| Scalar | value (const Vector3 &point) const |
| Returns the quadric value for a given point. | |
Protected Member Functions | |
| void | createCombinedQuadric (const SquareMatrix4 &quadric, const HomogenousMatrix4 &transformation) |
| Creates the combination of quadric and transformation matrix. | |
Protected Attributes | |
| SquareMatrix4 | combinedQuadric |
| Holds the combined quadric and transformation matrix. | |
This class implements the base for all quadric object.
| Ocean::Geometry::Quadric::Quadric | ( | ) |
Creates an invalid quadric.
|
protected |
Creates the combination of quadric and transformation matrix.
| quadric | Quadric matrix |
| transformation | Transformation matrix to be combined with the quadric |
| bool Ocean::Geometry::Quadric::isInside | ( | const Vector3 & | point | ) | const |
Returns whether a given point lies inside or on the surface of the cone.
| point | Point to check |
| bool Ocean::Geometry::Quadric::isOnSurface | ( | const Vector3 & | point | ) | const |
Returns whether a given point lies on the surface of the cone.
| point | Point to check |
|
protected |
Holds the combined quadric and transformation matrix.