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

Detailed Description

template<int dimension>
class jafar::geom::Segment< dimension >::TwoPointsDriver

Definition at line 111 of file Segment.hpp.

Inheritance diagram for jafar::geom::Segment< dimension >::TwoPointsDriver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TwoPointsDriver (const HomogenousVecD &p1, const HomogenousVecD &p2, const RepereD *reference=RepereD::global())
void setCov (HomogenousSymMatrixD _firstPointCov, HomogenousSymMatrixD _lastPoint)
virtual Line< dimension > support () const
virtual HomogenousVecD firstPoint () const
virtual HomogenousSymMatrixD firstPointCov () const
virtual HomogenousVecD lastPoint () const
virtual HomogenousSymMatrixD lastPointCov () const
virtual HomogenousVecD pointAt (double t) const
virtual DrivercloneSegmentDriver () const
virtual void changeReference (const RepereD *reference)
virtual const RepereDreference () const
virtual Line< dimension >::DriverasLineDriver ()
 As Segment inherits Line, it is expected that the same Driver of Segment will also be used for the Line and that it should also inherits the base class for Line Driver.
virtual HomogenousVecD origin () const
virtual HomogenousSymMatrixD originCov () const
virtual HomogenousVecD direction () const
virtual HomogenousSymMatrixD directionCov () const
virtual Line< dimension >::DrivercloneLineDriver () const
virtual bool hasCov () const
virtual void applyTransformation (const HomogenousMatrixD &_transformation)

Private Attributes

HomogenousVecD m_firstPoint
HomogenousVecD m_lastPoint
HomogenousSymMatrixD m_firstPointCov
HomogenousSymMatrixD m_lastPointCov
const RepereDm_reference
bool m_hasCov

Member Function Documentation

template<int dimension>
Line< dimension >::Driver * jafar::geom::Segment< dimension >::TwoPointsDriver::asLineDriver ( ) [virtual]

As Segment inherits Line, it is expected that the same Driver of Segment will also be used for the Line and that it should also inherits the base class for Line Driver.

This class allows to access this Driver as a Line::Driver

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

Definition at line 237 of file SegmentImpl.hpp.

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

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

Definition at line 218 of file SegmentImpl.hpp.

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

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

Definition at line 252 of file SegmentImpl.hpp.

template<int dimension>
Segment< dimension >::HomogenousVecD jafar::geom::Segment< dimension >::TwoPointsDriver::firstPoint ( ) const [virtual]
Returns:
the so-called "first point" (it is expected that this point correspond to the point returned by pointAt(0.0); )

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

Definition at line 193 of file SegmentImpl.hpp.

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

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

Definition at line 132 of file Segment.hpp.

template<int dimension>
Segment< dimension >::HomogenousVecD jafar::geom::Segment< dimension >::TwoPointsDriver::lastPoint ( ) const [virtual]
Returns:
the so-called "last point" (it is expected that this point correspond to the point returned by pointAt(1.0); )

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

Definition at line 203 of file SegmentImpl.hpp.

template<int dimension>
Atom< dimension >::HomogenousVecD jafar::geom::Segment< dimension >::TwoPointsDriver::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 242 of file SegmentImpl.hpp.

template<int dimension>
Segment< dimension >::HomogenousVecD jafar::geom::Segment< dimension >::TwoPointsDriver::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 213 of file SegmentImpl.hpp.

template<int dimension>
Line< dimension > jafar::geom::Segment< dimension >::TwoPointsDriver::support ( ) const [virtual]
Returns:
the Line that support this Segment (this is the Line that contains this Segment)

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

Definition at line 188 of file SegmentImpl.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