geometric< K > Class Template Reference

#include <shape.hpp>

Inheritance diagram for geometric< K >:
line< K > plane< K >

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

template<class K>
class mmx::shape::geometric< K >

Definition at line 61 of file shape.hpp.


Constructor & Destructor Documentation

geometric ( void   )  [inline]

Definition at line 63 of file shape.hpp.

00063                   {
00064     m_x = m_y = m_z = 0.0 ;
00065     m_q0 = m_q1 = m_q2 = m_q3 = 0.0 ;
00066   }

virtual ~geometric ( void   )  [inline, virtual]

Definition at line 68 of file shape.hpp.

00068 {} ;


Member Function Documentation

bool orientation ( double *  q0,
double *  q1,
double *  q2,
double *  q3 
) [inline]

Definition at line 87 of file shape.hpp.

References geometric< K >::m_q0, geometric< K >::m_q1, geometric< K >::m_q2, and geometric< K >::m_q3.

00087                                                                     {
00088   *q0 = this->m_q0 ;
00089   *q1 = this->m_q1 ;
00090   *q2 = this->m_q2 ;
00091   *q3 = this->m_q3 ;
00092   return true ;
00093 }

bool position ( double *  x,
double *  y,
double *  z 
) [inline]

Definition at line 79 of file shape.hpp.

References geometric< K >::m_x, geometric< K >::m_y, and geometric< K >::m_z.

00079                                                  {
00080   *x = this->m_x ;
00081   *y = this->m_y ;
00082   *z = this->m_z ;
00083   return true ;
00084 }


Member Data Documentation

double m_q0 [protected]

Definition at line 75 of file shape.hpp.

Referenced by geometric< V >::geometric(), and geometric< K >::orientation().

double m_q1 [protected]

Definition at line 75 of file shape.hpp.

Referenced by geometric< V >::geometric(), and geometric< K >::orientation().

double m_q2 [protected]

Definition at line 75 of file shape.hpp.

Referenced by geometric< V >::geometric(), and geometric< K >::orientation().

double m_q3 [protected]

Definition at line 75 of file shape.hpp.

Referenced by geometric< V >::geometric(), and geometric< K >::orientation().

double m_x [protected]

Definition at line 74 of file shape.hpp.

Referenced by geometric< V >::geometric(), and geometric< K >::position().

double m_y [protected]

Definition at line 74 of file shape.hpp.

Referenced by geometric< V >::geometric(), and geometric< K >::position().

double m_z [protected]

Definition at line 74 of file shape.hpp.

Referenced by geometric< V >::geometric(), and geometric< K >::position().


The documentation for this class was generated from the following file:

Generated on 6 Dec 2012 for shape by  doxygen 1.6.1