- distance
float distance(Vector3f p)
Get the distance from the center of the plane to the given point.
This is useful for determining which side of the plane the point is on.
- dot
float dot(Vector3f p)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromPointAndNormal
void fromPointAndNormal(Vector3f p, Vector3f n)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromPoints
void fromPoints(Vector3f p0, Vector3f p1, Vector3f p2)
Undocumented in source. Be warned that the author may not have intended to support it.
- intersectsLine
bool intersectsLine(Vector3f p0, Vector3f p1, float t)
Calculate the intersection between this plane and a line
If the plane and the line are parallel, false is returned
- intersectsLine
bool intersectsLine(Vector3f p0, Vector3f p1, Vector3f ip)
Undocumented in source. Be warned that the author may not have intended to support it.
- intersectsLineSegment
bool intersectsLineSegment(Vector3f p0, Vector3f p1, Vector3f ip)
Undocumented in source. Be warned that the author may not have intended to support it.
- isOnPlane
bool isOnPlane(Vector3f p, float threshold)
Undocumented in source. Be warned that the author may not have intended to support it.
- normalize
void normalize()
Undocumented in source. Be warned that the author may not have intended to support it.
- normalized
Plane normalized()
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
float opIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndexAssign
float opIndexAssign(float value, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
- project
Vector3f project(Vector3f p)
Undocumented in source. Be warned that the author may not have intended to support it.
- reflect
Vector3f reflect(Vector3f vec)
Undocumented in source. Be warned that the author may not have intended to support it.
Infinite plane