From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03083.html | 295 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 295 insertions(+) create mode 100644 docs/doxygen/nel/a03083.html (limited to 'docs/doxygen/nel/a03083.html') diff --git a/docs/doxygen/nel/a03083.html b/docs/doxygen/nel/a03083.html new file mode 100644 index 00000000..f995f4e2 --- /dev/null +++ b/docs/doxygen/nel/a03083.html @@ -0,0 +1,295 @@ + + +NeL: NL3D::CPlaneBasis struct Reference + + + +
+

NL3D::CPlaneBasis Struct Reference

#include <ps_plane_basis.h> +

+


Detailed Description

+A basis for plane object, used by particle by face and shockwaves It's a like a 2x3 matrix, (with only the X and Y vector defined) +

+ +

+Definition at line 46 of file ps_plane_basis.h. + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CPlaneBasis (const NLMISC::CVector &x, const NLMISC::CVector &y)
 CPlaneBasis (const NLMISC::CVector &normal)
 CPlaneBasis ()
NLMISC::CVector getNormal (void) const
 compute the normal of the plane basis

void serial (NLMISC::IStream &f) throw (NLMISC::EStream)

Data Fields

NLMISC::CVector X
NLMISC::CVector Y
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CPlaneBasis::CPlaneBasis  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 53 of file ps_plane_basis.h. +

+

00053 {}
+
+

+ + + + +
+ + + + + + + + + + +
NL3D::CPlaneBasis::CPlaneBasis const NLMISC::CVector normal  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 57 of file ps_plane_basis.h. +

+References NLMISC::CMatrix::getI(), and NLMISC::CMatrix::getJ(). +

+

00058         {
+00059                 NLMISC::CMatrix mat;
+00060                 CPSUtil::buildSchmidtBasis(normal, mat) ;
+00061                 X = mat.getI() ;
+00062                 Y = mat.getJ() ;
+00063         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NL3D::CPlaneBasis::CPlaneBasis const NLMISC::CVector x,
const NLMISC::CVector y
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 66 of file ps_plane_basis.h. +

+References x, and y. +

+

00066                                                                     : X(x), Y(y)
+00067         {               
+00068         }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
NLMISC::CVector NL3D::CPlaneBasis::getNormal void   )  const [inline]
+
+ + + + + +
+   + + +

+compute the normal of the plane basis +

+ +

+Definition at line 71 of file ps_plane_basis.h. +

+Referenced by NL3D::PSValueBlend(). +

+

00072         {
+00073                 return X ^ Y ;
+00074         }
+
+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPlaneBasis::serial NLMISC::IStream f  )  throw (NLMISC::EStream) [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 77 of file ps_plane_basis.h. +

+

00078         {
+00079                 f.serial(X, Y) ;
+00080         }
+
+


Field Documentation

+

+ + + + +
+ + +
NLMISC::CVector NL3D::CPlaneBasis::X +
+
+ + + + + +
+   + + +

+ +

+Definition at line 48 of file ps_plane_basis.h. +

+Referenced by NL3D::CPSRotated3DPlaneParticle::CPSRotated3DPlaneParticle(), NL3D::CPSFaceHelper::drawFaces(), NL3D::CPSConstraintMeshHelper::drawMeshs(), NL3D::CPSShockWaveHelper::drawShockWave(), NL3D::CPSPlaneBasisFollowSpeed::make(), NL3D::operator<(), NL3D::PSBinOpModulate(), and NL3D::CPSMesh::updatePos().

+

+ + + + +
+ + +
NLMISC::CVector NL3D::CPlaneBasis::Y +
+
+ + + + + +
+   + + +

+ +

+Definition at line 49 of file ps_plane_basis.h. +

+Referenced by NL3D::CPSRotated3DPlaneParticle::CPSRotated3DPlaneParticle(), NL3D::CPSFaceHelper::drawFaces(), NL3D::CPSConstraintMeshHelper::drawMeshs(), NL3D::CPSShockWaveHelper::drawShockWave(), NL3D::CPSPlaneBasisFollowSpeed::make(), NL3D::operator<(), NL3D::PSBinOpModulate(), and NL3D::CPSMesh::updatePos().

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 07:01:16 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1