15 #include "CeeCore/Base.h"
16 #include "CeeCore/Vec3d.h"
32 Plane(
double A,
double B,
double C,
double D);
46 double distance(
const Vec3d& point)
const;
47 double distanceSquared(
const Vec3d& point)
const;
49 Vec3d pointInPlane()
const;
51 void set(
double A,
double B,
double C,
double D);
52 bool setFromPointAndNormal(
const Vec3d& point,
const Vec3d& normal);
55 void transform(
const Mat4d& matrix);
57 bool rayIntersect(
const Ray& ray,
Vec3d* intersectionPoint)
const;
58 bool rayIntersect(
const Ray& ray,
double* distance)
const;
60 bool projectVector(
const Vec3d& vector,
Vec3d* projectedVector)
const;
63 static Plane createFromPointAndNormal(
const Vec3d& point,
const Vec3d& normal);
67 CEE_PRIVATE_IMPL(
Plane);
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppAssert.cpp:18
bool operator!=(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are different.
Definition: PtrRef.h:58
A ray that can be used for intersection testing.
Definition: Ray.h:27
bool operator==(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are equal.
Definition: PtrRef.h:57
Class defining a plane in space.
Definition: Plane.h:27
Vector class for a 3D double vector.
Definition: Vec3d.h:26
4 dimensional matrix.
Definition: Mat4d.h:26