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

Detailed Description

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

Definition at line 92 of file Segment.hpp.

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

List of all members.

Classes

struct  Private

Public Member Functions

 TwoPointsPointerDriver (const Point< dimension > *p1, const Point< dimension > *p2)
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 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 >::TwoPointsPointerDriver::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 157 of file SegmentImpl.hpp.

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

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

Definition at line 152 of file SegmentImpl.hpp.

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

Referenced by jafar::geom::Segment< dimension >::TwoPointsPointerDriver::pointAt().

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

Reimplemented from jafar::geom::Line< dimension >::TwoPointsPointerDriver.

Definition at line 167 of file SegmentImpl.hpp.

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

Referenced by jafar::geom::Segment< dimension >::TwoPointsPointerDriver::pointAt().

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

Reimplemented from jafar::geom::Line< dimension >::TwoPointsPointerDriver.

Definition at line 147 of file SegmentImpl.hpp.

References jafar::geom::Segment< dimension >::TwoPointsPointerDriver::firstPoint(), and jafar::geom::Segment< dimension >::TwoPointsPointerDriver::lastPoint().

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