Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::geom::Line< dimension >::EuclideanDriver Class Reference

An EuclideanDriver for a Line is used for Lines known from their origin (a point of the line) and the direction verctor. More...


Detailed Description

template<int dimension>
class jafar::geom::Line< dimension >::EuclideanDriver

An EuclideanDriver for a Line is used for Lines known from their origin (a point of the line) and the direction verctor.

Definition at line 61 of file Line.hpp.

#include <Line.hpp>

Inheritance diagram for jafar::geom::Line< dimension >::EuclideanDriver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 EuclideanDriver (const HomogenousVecD &origin, const HomogenousVecD &direction, const RepereD *reference=RepereD::global())
 EuclideanDriver (const VecD &origin, const VecD &direction, const RepereD *reference=RepereD::global())
void setCov (HomogenousSymMatrixD m_originCov, HomogenousSymMatrixD m_directionCov)
virtual HomogenousVecD pointAt (double t) const
virtual HomogenousVecD origin () const
virtual HomogenousSymMatrixD originCov () const
virtual HomogenousVecD direction () const
virtual HomogenousSymMatrixD directionCov () const
virtual DrivercloneLineDriver () const
virtual void changeReference (const RepereD *reference)
virtual const RepereDreference () const
virtual bool hasCov () const

Private Attributes

HomogenousVecD m_origin
HomogenousVecD m_direction
HomogenousSymMatrixD m_originCov
HomogenousSymMatrixD m_directionCov
const RepereDm_reference
bool m_hasCov

Constructor & Destructor Documentation

template<int dimension>
jafar::geom::Line< dimension >::EuclideanDriver::EuclideanDriver ( const HomogenousVecD origin,
const HomogenousVecD direction,
const RepereD reference = RepereD::global() 
)
Parameters:
originof the line
directionof the line

Definition at line 10 of file LineImpl.hpp.

References JFR_ASSERT, and jafar::geom::Line< dimension >::EuclideanDriver::origin().


Member Function Documentation

template<int dimension>
Line< dimension >::Driver * jafar::geom::Line< dimension >::EuclideanDriver::cloneLineDriver ( ) const [virtual]
Returns:
a deep copy of this driver

Implements jafar::geom::Line< dimension >::Driver.

Definition at line 60 of file LineImpl.hpp.

template<int dimension>
Line< dimension >::HomogenousVecD jafar::geom::Line< dimension >::EuclideanDriver::direction ( ) const [virtual]
Returns:
the direction of the line

Implements jafar::geom::Line< dimension >::Driver.

Definition at line 50 of file LineImpl.hpp.

template<int dimension>
virtual bool jafar::geom::Line< dimension >::EuclideanDriver::hasCov ( ) const [inline, virtual]
Returns:
true if there is a covariance

Implements jafar::geom::Atom< dimension >::Driver.

Definition at line 78 of file Line.hpp.

template<int dimension>
Line< dimension >::HomogenousVecD jafar::geom::Line< dimension >::EuclideanDriver::origin ( ) const [virtual]
Returns:
the origin of the line (it should correspond to t = 0.0), but there is no specific constraint

Implements jafar::geom::Line< dimension >::Driver.

Definition at line 40 of file LineImpl.hpp.

Referenced by jafar::geom::Line< dimension >::EuclideanDriver::EuclideanDriver().

template<int dimension>
Line< dimension >::HomogenousVecD jafar::geom::Line< dimension >::EuclideanDriver::pointAt ( double  t) const [virtual]
Parameters:
tparameter
Returns:
the coordinates of the point corresponding to the parameter t

Implements jafar::geom::Line< dimension >::Driver.

Definition at line 35 of file LineImpl.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:37 for Jafar by doxygen 1.7.6.1
LAAS-CNRS