TGLPlane 3D plane class - of format Ax + By + Cz + D = 0 This is part of collection of simple utility classes for GL only in TGLUtil.h/cxx. These provide const and non-const accessors Arr() & CArr() to a GL compatible internal field - so can be used directly with OpenGL C API calls - which TVector3 etc cannot (easily). They are not intended to be fully featured just provide minimum required.
void | Normalise() |
Double_t | fVals[4] |
Construct plane with equation a.x + b.y + c.z + d = 0 with optional normalisation
Construct plane with equation eq[0].x + eq[1].y + eq[2].z + eq[3] = 0 with optional normalisation
Construct plane passing through 3 supplied points with optional normalisation
Construct plane with supplied normal vector, passing through point with optional normalisation
Set plane from a normal vector and in-plane point pair
Set plane by three points.