Jafar
|
This class defines a segment (which is a bounded space of dimension 1). More...
This class defines a segment (which is a bounded space of dimension 1).
Exemple of a segment define by the euclidean coordinates of the two extremeties:
jblas::vec3 ext1; jblas::vec3 ext2; Segment<3> seg( new Segment<3>::TwoPointsDriver( ext1, ext2 ) );
Definition at line 24 of file Segment.hpp.
#include <Segment.hpp>
Classes | |
class | Driver |
Base class for the drivers of Segment. More... | |
class | LineDriver |
class | TwoPointsDriver |
class | TwoPointsPointerDriver |
Public Types | |
typedef Atom< dimension > ::HomogenousVecD | HomogenousVecD |
typedef Atom< dimension > ::HomogenousSymMatrixD | HomogenousSymMatrixD |
typedef Atom< dimension >::VecD | VecD |
typedef Atom< dimension > ::HomogenousMatrixD | HomogenousMatrixD |
typedef Repere< dimension > | RepereD |
Public Member Functions | |
Segment () | |
Creates a Segment with a null Segment::Driver. | |
template<class _TDriver_ > | |
Segment (_TDriver_ *) | |
Creates a Segment with the Segment::Driver given in parameter. | |
Segment (const Segment &) | |
Segment & | operator= (const Segment &rhs) |
virtual BoundingBox< dimension > | boundingBox () const |
virtual Atom< dimension >::Type | type () const |
Line< dimension > | support () const |
HomogenousVecD | firstPoint () const |
HomogenousSymMatrixD | firstPointCov () const |
HomogenousVecD | lastPoint () const |
HomogenousSymMatrixD | lastPointCov () const |
double | length () const |
virtual std::string | toString () const |
Private Attributes | |
Driver * | m_driver |
jafar::geom::Segment< dimension >::Segment | ( | _TDriver_ * | driver | ) | [explicit] |
Creates a Segment with the Segment::Driver given in parameter.
This class takes ownership of the Segment::Driver and will deletes it.
Definition at line 288 of file SegmentImpl.hpp.
BoundingBox< dimension > jafar::geom::Segment< dimension >::boundingBox | ( | ) | const [virtual] |
Reimplemented from jafar::geom::Line< dimension >.
Definition at line 316 of file SegmentImpl.hpp.
Segment< dimension >::HomogenousVecD jafar::geom::Segment< dimension >::firstPoint | ( | ) | const [inline] |
Definition at line 326 of file SegmentImpl.hpp.
Segment< dimension >::HomogenousVecD jafar::geom::Segment< dimension >::lastPoint | ( | ) | const [inline] |
Definition at line 336 of file SegmentImpl.hpp.
double jafar::geom::Segment< dimension >::length | ( | ) | const [inline] |
Definition at line 346 of file SegmentImpl.hpp.
Line< dimension > jafar::geom::Segment< dimension >::support | ( | ) | const [inline] |
std::string jafar::geom::Segment< dimension >::toString | ( | ) | const [virtual] |
Reimplemented from jafar::geom::Atom< dimension >.
Definition at line 351 of file SegmentImpl.hpp.
virtual Atom<dimension>::Type jafar::geom::Segment< dimension >::type | ( | ) | const [inline, virtual] |
Reimplemented from jafar::geom::Line< dimension >.
Definition at line 155 of file Segment.hpp.
Generated on Wed Oct 15 2014 00:37:37 for Jafar by doxygen 1.7.6.1 |