| 
    MRPT
    1.9.9
    
   | 
 
Auxiliary struct holding any quadrilateral, represented by foour points.
Definition at line 35 of file CGeneralizedCylinder.h.
#include <mrpt/opengl/CGeneralizedCylinder.h>
Public Member Functions | |
| void | getAsPolygonUnsafe (mrpt::math::TPolygon3D &vec) const | 
| Given a polygon with 4 already positions allocated, this method fills it with the quadrilateral points.  More... | |
| TQuadrilateral (const mrpt::math::TPoint3D &p1, const mrpt::math::TPoint3D &p2, const mrpt::math::TPoint3D &p3, const mrpt::math::TPoint3D &p4) | |
| Constructor from 4 points.  More... | |
| template<class T > | |
| TQuadrilateral (const T(&p)[4]) | |
| Construction from any array of four compatible objects.  More... | |
| TQuadrilateral ()=default | |
| Empty constructor.  More... | |
| ~TQuadrilateral ()=default | |
| Destructor.  More... | |
Public Attributes | |
| mrpt::math::TPoint3D | points [4] | 
| Quadrilateral`'s points.  More... | |
| double | normal [3] | 
| Normal vector.  More... | |
Private Member Functions | |
| void | calculateNormal () | 
| Automatically compute a vector normal to this quadrilateral.  More... | |
      
  | 
  inline | 
Constructor from 4 points.
Definition at line 67 of file CGeneralizedCylinder.h.
References calculateNormal().
      
  | 
  inline | 
Construction from any array of four compatible objects.
Definition at line 81 of file CGeneralizedCylinder.h.
References calculateNormal().
      
  | 
  default | 
Empty constructor.
Initializes to garbage.
      
  | 
  default | 
Destructor.
      
  | 
  private | 
Automatically compute a vector normal to this quadrilateral.
Referenced by TQuadrilateral().
      
  | 
  inline | 
Given a polygon with 4 already positions allocated, this method fills it with the quadrilateral points.
Definition at line 57 of file CGeneralizedCylinder.h.
| double mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::normal[3] | 
Normal vector.
Definition at line 51 of file CGeneralizedCylinder.h.
| mrpt::math::TPoint3D mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::points[4] | 
Quadrilateral`'s points.
Definition at line 47 of file CGeneralizedCylinder.h.
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |