48 this->normal.normalize();
52 this->normal = (
p1 -
p0).cross(
p2 -
p0);
53 assert(this->normal.sqrLength() != 0.0f);
54 this->normal.normalize();
55 this->distance = this->normal.dot(
p0);
59 return point.dot(this->normal) - this->distance;
66 void offset(
const Type
d) {
71 return this->getDistance(point) >= 0.0f;
74 Type getDistanceFromOrigin(
void)
const {
75 return this->distance;