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

class Point This class represents a point. More...


Detailed Description

template<int dimension>
class jafar::geom::Point< dimension >

class Point This class represents a point.

To create a 3D point defined by euclidean coordinates you need to do:

 jblas::vec3 coord;
 Point<3> pt( new Point<3>::EuclideanDriver( coord ) );

Definition at line 28 of file Point.hpp.

#include <Point.hpp>

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

List of all members.

Classes

class  Driver
 class Driver Base class for driver of a point More...
class  EuclideanDriver
 class EuclideanDriver Euclidean Driver for a point that is defined by its absolute coordinates. More...
class  HomogenousDriver

Public Member Functions

 Point ()
 Creates a Segment with a null Point::Driver.
 Point (Driver *driver)
 Point (const Point &p)
virtual Atom< dimension >::Type type () const
virtual BoundingBox< dimension > boundingBox () const
HomogenousVecD homogenousCoordinates () const
HomogenousSymMatrixD homogenousCoordinatesCov () const
Pointoperator= (const Point &rhs)
virtual std::string toString () const

Private Types

typedef Atom< dimension >
::HomogenousVecD 
HomogenousVecD
typedef Atom< dimension >
::HomogenousSymMatrixD 
HomogenousSymMatrixD
typedef Atom< dimension >::VecD VecD
typedef Atom< dimension >
::HomogenousMatrixD 
HomogenousMatrixD
typedef Atom< dimension >
::SymMatrixD 
SymMatrixD
typedef Repere< dimension > RepereD

Private Attributes

Driverm_driver

Member Function Documentation

template<int dimension>
BoundingBox< dimension > jafar::geom::Point< dimension >::boundingBox ( ) const [inline, virtual]
Returns:
the bounding box that completely include this Atom.

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

Definition at line 108 of file PointImpl.hpp.

References jafar::geom::Point< dimension >::homogenousCoordinates(), and jafar::geom::Atom< dimension >::reference().

template<int dimension>
HomogenousVecD jafar::geom::Point< dimension >::homogenousCoordinates ( ) const [inline]
template<int dimension>
HomogenousSymMatrixD jafar::geom::Point< dimension >::homogenousCoordinatesCov ( ) const [inline]
template<int dimension>
virtual Atom<dimension>::Type jafar::geom::Point< dimension >::type ( ) const [inline, virtual]
Returns:
the type of the object.

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

Definition at line 143 of file Point.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