Jafar
|
the equation of the plane is given in the Hessian form i.e. More...
the equation of the plane is given in the Hessian form i.e.
uX+d = 0 where u : the Unitary Normal Vector of the plane d : the distance to the origine
Definition at line 19 of file plane3D.hpp.
#include <plane3D.hpp>
Public Member Functions | |
Plane3D & | operator= (const Plane3D &srcPlane) |
void | setPlane (Point3D &p1, Point3D &p2, Point3D &p3) |
set the plane in the Hessian Form which pass par the three given points | |
void | info () |
void | clear () |
bool | isBaseNormal (int &nType) |
void | setBaseNormal (int nType) |
bool | isVertical () |
double | calculateCosDihedralAngle (Plane3D &plane3D_2) |
calculate the Dihedral angle between the tow planes | |
double | signedDistance (const Point3D &p) const |
bool | isCoplanar (Plane3D &plane3D_2, double dist, double cosDihedral) |
test of coplanarity of the plane3d with the given one | |
Public Attributes | |
double | u [3] |
double | d0 |
double jafar::model3d::Plane3D::calculateCosDihedralAngle | ( | Plane3D & | plane3D_2 | ) | [inline] |
calculate the Dihedral angle between the tow planes
The dihedral angle is the angle theta between two planes. The dihedral angle between the planes a_1x+b_1y+c_1z+d_1 = 0 (1) a_2x+b_2y+c_2z+d_2 = 0 (2)
which have normal vectors n_1==(a_1,b_1,c_1) and n_2==(a_2,b_2,c_2) is simply given via the dot product of the normals, costheta = n_1.n_2
see http://mathworld.wolfram.com/DihedralAngle.html
Definition at line 57 of file plane3D.hpp.
bool jafar::model3d::Plane3D::isCoplanar | ( | Plane3D & | plane3D_2, |
double | dist, | ||
double | cosDihedral | ||
) |
test of coplanarity of the plane3d with the given one
the tow planes 3d are coplanar if
void jafar::model3d::Plane3D::setPlane | ( | Point3D & | p1, |
Point3D & | p2, | ||
Point3D & | p3 | ||
) |
set the plane in the Hessian Form which pass par the three given points
Generated on Wed Oct 15 2014 00:37:42 for Jafar by doxygen 1.7.6.1 |