A plane equation stored in double-precision floating-point. More...
#include <plane.h>
Public Member Functions | |
Plane3 () | |
Plane3 (double _a, double _b, double _c, double _d) | |
template<typename Element > | |
Plane3 (const BasicVector3< Element > &normal, double dist) | |
BasicVector3< double > & | normal () |
const BasicVector3< double > & | normal () const |
double & | dist () |
const double & | dist () const |
Data Fields | |
double | a |
double | b |
double | c |
double | d |
A plane equation stored in double-precision floating-point.
Definition at line 33 of file plane.h.
Plane3::Plane3 | ( | double | _a, | |
double | _b, | |||
double | _c, | |||
double | _d | |||
) | [inline] |
Plane3::Plane3 | ( | const BasicVector3< Element > & | normal, | |
double | dist | |||
) | [inline] |
double& Plane3::dist | ( | ) | [inline] |
Definition at line 59 of file plane.h.
References d.
Referenced by Plane3_applyTransform(), Plane3_applyTranslation(), plane3_equal(), plane3_flipped(), plane3_inside(), plane3_test_point(), and Brush::windingForClipPlane().
const BasicVector3<double>& Plane3::normal | ( | ) | const [inline] |
BasicVector3<double>& Plane3::normal | ( | ) | [inline] |
Definition at line 51 of file plane.h.
Referenced by Face::EmitTextureCoordinates(), Face::Face(), Face::FitTexture(), FacePlane::offset(), Plane3_applyTransform(), Plane3_applyTranslation(), plane3_equal(), plane3_flipped(), plane3_for_points(), plane3_inside(), plane3_test_point(), plane_distance_to_oriented_extents(), plane_distance_to_point(), BrushClipPlane::render(), Face::render(), FaceInstance::selectPlane(), and Brush::windingForClipPlane().
double Plane3::a |
Definition at line 36 of file plane.h.
Referenced by plane3_inverse_transformed(), plane3_normalised(), plane3_transformed(), plane3_translated(), and viewer_test_plane().
double Plane3::b |
Definition at line 36 of file plane.h.
Referenced by plane3_inverse_transformed(), plane3_normalised(), plane3_transformed(), plane3_translated(), and viewer_test_plane().
double Plane3::c |
Definition at line 36 of file plane.h.
Referenced by plane3_inverse_transformed(), plane3_normalised(), plane3_transformed(), plane3_translated(), and viewer_test_plane().
double Plane3::d |
Definition at line 36 of file plane.h.
Referenced by dist(), plane3_inverse_transformed(), plane3_normalised(), plane3_transformed(), plane3_translated(), plane_distance_to_point(), and viewer_test_plane().