102 return _normal.
dot(point.
xyz()) > 0;
136 return x + (_normal * (-
distance(x)));
161 void getEquation(
double& a,
double& b,
double& c,
double& d)
const;
162 void getEquation(
float& a,
float& b,
float& c,
float& d)
const;
void flip()
Definition: Plane.cpp:126
const Vector3 & normal() const
Definition: Plane.h:124
Plane(const Vector3 &n, float d)
Definition: Plane.h:35
bool fuzzyContains(const Point3 &point) const
Definition: Plane.h:120
static const Vector3 & minFinite()
Definition: Vector3.cpp:126
float w
Definition: Vector4.h:74
std::string toString() const
Definition: Plane.cpp:161
virtual ~Plane()
Definition: Plane.h:81
Vector3 clamp(const Vector3 &low, const Vector3 &high) const
Definition: Vector3.h:329
Point3 closestPoint(const Point3 &x) const
Definition: Plane.h:135
float __fastcall dot(const Vector3 &rkVector) const
Definition: Vector3.h:771
Any toAny() const
Definition: Plane.cpp:27
float _distance
Definition: Plane.h:30
Vector3 xyz() const
Definition: Vector4.cpp:233
Easy loading and saving of human-readable configuration files.
Definition: Any.h:184
Vector3 center() const
Definition: Plane.h:140
void serialize(class BinaryOutput &b) const
Definition: Plane.cpp:39
#define debugAssert(exp)
Definition: debugAssert.h:160
Vector3 _normal
Definition: Plane.h:29
static Plane fromEquation(float a, float b, float c, float d)
Definition: Plane.cpp:117
float distance(const Vector3 &x) const
Definition: Plane.h:131
bool isFinite() const
Definition: Vector3.h:652
bool halfSpaceContains(const Vector4 &point) const
Definition: Plane.h:100
static const Vector3 & maxFinite()
Definition: Vector3.cpp:127
Definition: BinaryOutput.h:52
bool halfSpaceContainsFinite(const Point3 &point) const
Definition: Plane.h:112
Plane()
Definition: Plane.h:40
void deserialize(class BinaryInput &b)
Definition: Plane.cpp:45
G3D::int16 x
Definition: Vector2int16.h:37
void getEquation(Vector3 &normal, double &d) const
Definition: Plane.cpp:138
bool halfSpaceContains(Point3 point) const
Definition: Plane.h:87
bool fuzzyEq(double a, double b)
Definition: g3dmath.h:857