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

An HyperPlane is a space of dimension (n-1), this correspond to a Plan in dimension 3 and to a Line in dimension 2. More...


Detailed Description

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

An HyperPlane is a space of dimension (n-1), this correspond to a Plan in dimension 3 and to a Line in dimension 2.

Definition at line 22 of file HyperPlane.hpp.

#include <HyperPlane.hpp>

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

List of all members.

Classes

class  Driver
 HyperPlane is the base Driver for all HyperPlane::Driver. More...
class  EquationDriver
class  VectorsDriver

Public Member Functions

 HyperPlane (Driver *d)
 HyperPlane (const HyperPlane &)
virtual Atom< dimension >::Type type () const
virtual BoundingBox< dimension > boundingBox () const
HomogenousVecD origin () const
HomogenousVecD normal () const
HomogenousSymMatrixD normalCov () const
HomogenousVecD equation () const
HomogenousVecD project (const HomogenousVecD &p) const
 Project "orthogonaly" a point on the HyperPlane.
HomogenousVecD projectionVector (const HomogenousVecD &p) const
void projectionVectorCov (const HomogenousVecD &p, const HomogenousSymMatrixD &pCov, HomogenousVecD &vec, HomogenousSymMatrixD &cov) const
void projectionVectorCov (const Point< dimension > &p, HomogenousVecD &vec, HomogenousSymMatrixD &cov) const

Protected Types

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

Protected Member Functions

void setDriver (Driver *driver)

Protected Attributes

Driverm_driver

Member Function Documentation

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

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

Reimplemented in jafar::geom::Facet< dimension >.

Definition at line 226 of file HyperPlaneImpl.hpp.

template<int dimension>
HyperPlane< dimension >::HomogenousVecD jafar::geom::HyperPlane< dimension >::equation ( ) const [inline]
Returns:
the equation of the plan (< eqn , homogenouscoord > = 0)

Definition at line 180 of file HyperPlaneImpl.hpp.

References jafar::geom::HyperPlane< dimension >::Driver::equation().

template<int dimension>
HyperPlane< dimension >::HomogenousVecD jafar::geom::HyperPlane< dimension >::normal ( ) const [inline]
template<int dimension>
HyperPlane< dimension >::HomogenousVecD jafar::geom::HyperPlane< dimension >::origin ( ) const [inline]
template<int dimension>
HyperPlane< dimension >::HomogenousVecD jafar::geom::HyperPlane< dimension >::project ( const HomogenousVecD p) const [inline]

Project "orthogonaly" a point on the HyperPlane.

Parameters:
p

Definition at line 215 of file HyperPlaneImpl.hpp.

References jafar::geom::HyperPlane< dimension >::projectionVector().

template<int dimension>
HyperPlane< dimension >::HomogenousVecD jafar::geom::HyperPlane< dimension >::projectionVector ( const HomogenousVecD p) const [inline]
Returns:
the projection vector, the vector from p to the plan.

Definition at line 185 of file HyperPlaneImpl.hpp.

References jafar::geom::HyperPlane< dimension >::normal(), and jafar::geom::HyperPlane< dimension >::origin().

Referenced by jafar::geom::HyperPlane< dimension >::project().

template<int dimension>
void jafar::geom::HyperPlane< dimension >::projectionVectorCov ( const HomogenousVecD p,
const HomogenousSymMatrixD pCov,
HomogenousVecD vec,
HomogenousSymMatrixD cov 
) const [inline]
Returns:
the projection vector, the vector from p to the plan, and compute the covariance of the vector.

Definition at line 190 of file HyperPlaneImpl.hpp.

References jafar::geom::HyperPlane< dimension >::normal(), and jafar::geom::HyperPlane< dimension >::origin().

Referenced by jafar::geom::HyperPlane< dimension >::projectionVectorCov().

template<int dimension>
void jafar::geom::HyperPlane< dimension >::projectionVectorCov ( const Point< dimension > &  p,
HomogenousVecD vec,
HomogenousSymMatrixD cov 
) const [inline]
Returns:
the projection vector, the vector from p to the plan, and compute the covariance of the vector.

Definition at line 210 of file HyperPlaneImpl.hpp.

References jafar::geom::Point< dimension >::homogenousCoordinates(), jafar::geom::Point< dimension >::homogenousCoordinatesCov(), and jafar::geom::HyperPlane< dimension >::projectionVectorCov().

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

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

Reimplemented in jafar::geom::OrientedPlan< dimension >, and jafar::geom::Facet< dimension >.

Definition at line 104 of file HyperPlane.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