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

Detailed Description

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

Definition at line 68 of file Segment.hpp.

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

List of all members.

Classes

struct  Private

Public Member Functions

 LineDriver (const Line< dimension > *support, double firstIndex, double lastIndex, const RepereD *reference=RepereD::global())
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 HomogenousVecD origin () const
virtual HomogenousSymMatrixD originCov () const
virtual HomogenousVecD direction () const
virtual HomogenousSymMatrixD directionCov () const
virtual DrivercloneSegmentDriver () const
virtual Line< dimension >::DrivercloneLineDriver () 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 const RepereDreference () const
virtual bool hasCov () const

Private Attributes

Private *const d

Member Function Documentation

template<int dimension>
Line< dimension >::Driver * jafar::geom::Segment< dimension >::LineDriver::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 90 of file SegmentImpl.hpp.

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

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

Definition at line 85 of file SegmentImpl.hpp.

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

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

Definition at line 80 of file SegmentImpl.hpp.

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

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

Definition at line 70 of file SegmentImpl.hpp.

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

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

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

Definition at line 100 of file SegmentImpl.hpp.

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

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

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

template<int dimension>
Line< dimension > jafar::geom::Segment< dimension >::LineDriver::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 30 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