8 #ifndef META_OCEAN_GEOMETRY_CONE_H
9 #define META_OCEAN_GEOMETRY_CONE_H
This class implements a cone quadric.
Definition: Quadric.h:87
Cone(const Scalar angle, const HomogenousMatrix4 &transformation)
Creates a cone by a given dihedral angle and a transformation.
Cone()
Creates an invalid cone.
This class implements the base for all quadric object.
Definition: Quadric.h:28
Scalar value(const Vector3 &point) const
Returns the quadric value for a given point.
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.
Quadric()
Creates an invalid quadric.
SquareMatrix4 combinedQuadric
Holds the combined quadric and transformation matrix.
Definition: Quadric.h:69
void createCombinedQuadric(const SquareMatrix4 &quadric, const HomogenousMatrix4 &transformation)
Creates the combination of quadric and transformation matrix.
This class implements a sphere quadric.
Definition: Quadric.h:118
Sphere(const Scalar radius, const HomogenousMatrix4 &transformation)
Creates a sphere by a given radius and a transformation.
Sphere()
Creates an invalid sphere.
float Scalar
Definition of a scalar type.
Definition: Math.h:128
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15