shape_doc 0.1
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 62 of file shape.hpp.


Constructor & Destructor Documentation

geometric ( void  ) [inline]

Definition at line 64 of file shape.hpp.

                  {
    m_x = m_y = m_z = 0.0 ;
    m_q0 = m_q1 = m_q2 = m_q3 = 0.0 ;
  }
virtual ~geometric ( void  ) [inline, virtual]

Definition at line 69 of file shape.hpp.

{} ;

Member Function Documentation

bool orientation ( double *  q0,
double *  q1,
double *  q2,
double *  q3 
)

Definition at line 88 of file shape.hpp.

                                                                    {
  *q0 = this->m_q0 ;
  *q1 = this->m_q1 ;
  *q2 = this->m_q2 ;
  *q3 = this->m_q3 ;
  return true ;
}
bool position ( double *  x,
double *  y,
double *  z 
)

Definition at line 80 of file shape.hpp.

                                                 {
  *x = this->m_x ;
  *y = this->m_y ;
  *z = this->m_z ;
  return true ;
}

Member Data Documentation

double m_q0 [protected]

Definition at line 76 of file shape.hpp.

Referenced by geometric< V >::geometric().

double m_q1 [protected]

Definition at line 76 of file shape.hpp.

Referenced by geometric< V >::geometric().

double m_q2 [protected]

Definition at line 76 of file shape.hpp.

Referenced by geometric< V >::geometric().

double m_q3 [protected]

Definition at line 76 of file shape.hpp.

Referenced by geometric< V >::geometric().

double m_x [protected]

Definition at line 75 of file shape.hpp.

Referenced by geometric< V >::geometric().

double m_y [protected]

Definition at line 75 of file shape.hpp.

Referenced by geometric< V >::geometric().

double m_z [protected]

Definition at line 75 of file shape.hpp.

Referenced by geometric< V >::geometric().


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