Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Geometry - 4D - Point4dC
 

  PUBLIC
Point4dC::Point4dC(void)
Point4dC::Point4dC(const TFVectorC &)
Point4dC::Point4dC(const FIndexC<4> &)
Point4dC::Point4dC(RealT,RealT,RealT,RealT)
Point4dC::X(void)
Point4dC::X(void) const
Point4dC::Y(void)
Point4dC::Y(void) const
Point4dC::Z(void)
Point4dC::Z(void) const
Point4dC::W(void)
Point4dC::W(void) const
FPointC::FPointC(const FVectorC &)
FPointC::EuclidDistance(const FPointC &) const
TFVectorC::Size(void) const
TFVectorC::Contains(UIntT) const
TFVectorC::operator [](UIntT)
TFVectorC::operator [](UIntT) const
TFVectorC::operator ==(const TFVectorC &) const
TFVectorC::operator !=(const TFVectorC &) const
TFVectorC::Fill(const DataT &)
TFVectorC::Abs(void) const
TFVectorC::operator +=(const TFVectorC &)
TFVectorC::operator -=(const TFVectorC &)
TFVectorC::operator *=(const TFVectorC &)
TFVectorC::operator /=(const TFVectorC &)
TFVectorC::operator +(const TFVectorC &) const
TFVectorC::operator -(const TFVectorC &) const
TFVectorC::operator *(const TFVectorC &) const
TFVectorC::operator /(const TFVectorC &) const
TFVectorC::operator -(void) const
TFVectorC::operator *=(const DataT &)
TFVectorC::operator /=(const DataT &)
TFVectorC::operator *(const DataT &) const
TFVectorC::operator /(const DataT &) const
TFVectorC::Dot(const TFVectorC &) const
TFVectorC::OuterProduct(const TFVectorC &,TFMatrixC &) const
TFVectorC::OuterProduct(TFMatrixC &) const
TFVectorC::Limit(const DataT &,const DataT &)
TFVectorC::MaxValueDistance(const TFVectorC &) const
TFVectorC::CityBlockDistance(const TFVectorC &) const
TFVectorC::SqrEuclidDistance(const TFVectorC &) const
TFVectorC::Sum(void) const
TFVectorC::SumSqr(void) const
TFVectorC::T(void) const
TFVectorC::operator >>(istream &,TFVectorC &)
TFVectorC::operator <<(ostream &,const TFVectorC &)
TFVectorC::operator >>(BinIStreamC &,TFVectorC &)
TFVectorC::operator <<(BinOStreamC &,const TFVectorC &)

   Point4dC   
 
Point in 4D space.
 
include "Ravl/Point4d.hh"
Created:24/01/2001 
Source file:Ravl/Math/Geometry/Euclidean/Point4d.hh
User Level:Normal
Library:RavlMath
In Scope:RavlN

Parent Classes: Methods:
Point4dC()
Default constructor.

Point4dC(const TFVectorC<RealT,4> & base)
Constructor.

Point4dC(const FIndexC<4> & ind)
Construct from a 4d index.

Point4dC(RealT v1,RealT v2,RealT v3,RealT v4)
Constructor.

RealT & X()
First component of vector.

RealT X() const
First component of vector.

RealT & Y()
Second component of vector.

RealT Y() const
Second component of vector.

RealT & Z()
Third component of vector.

RealT Z() const
Third component of vector.

RealT & W()
Fourth component of vector.

RealT W() const
Fourth component of vector.

#include "Ravl/FPoint.hh"
explicit FPointC(const FVectorC<4> & oth)
Vector constructor.

RealT EuclidDistance(const FPointC<4> & i) const
Returns the distance of two indexes in Euclid metric.

#include "Ravl/TFVector.hh"
UIntT Size() const
Get size of array
Used by some templates.

bool Contains(UIntT i) const
Test if array contains index i·

RealT & operator [](UIntT ind)
Access item.

const RealT & operator [](UIntT ind) const
Access item.

bool operator ==(const TFVectorC<RealT,4> & ind) const
is equal

bool operator !=(const TFVectorC<RealT,4> & ind) const
is not equal

void Fill(const RealT & dat)
Fill array with value 'dat'.

TFVectorC<RealT,4> Abs() const
Get an vector with Abs(x) run on all it values.

const TFVectorC<RealT,4> & operator +=(const TFVectorC<RealT,4> & ind)
Add an array to this one, inplace.

const TFVectorC<RealT,4> & operator -=(const TFVectorC<RealT,4> & ind)
Returns this index multiplied by index 'ind' item by item.

const TFVectorC<RealT,4> & operator *=(const TFVectorC<RealT,4> & ind)
Multiplies this index by index 'ind' item by item.

const TFVectorC<RealT,4> & operator /=(const TFVectorC<RealT,4> & ind)
Divides this index by index 'ind' item by item.

TFVectorC<RealT,4> operator +(const TFVectorC<RealT,4> & ind) const
Adds this index and 'ind'.

TFVectorC<RealT,4> operator -(const TFVectorC<RealT,4> & ind) const
Subtracts index 'ind' from this index.

TFVectorC<RealT,4> operator *(const TFVectorC<RealT,4> & ind) const
Returns this object multiplied by index 'ind' item by item.

TFVectorC<RealT,4> operator /(const TFVectorC<RealT,4> & ind) const
Returns this object devided by index 'ind' item by item.

TFVectorC<RealT,4> operator -() const
Returns opposite elements (unary minus operator).

const TFVectorC<RealT,4> & operator *=(const RealT & alpha)
Multiplies this index by number 'alpha'.

const TFVectorC<RealT,4> & operator /=(const RealT & alpha)
Divides this index by number 'alpha'.

TFVectorC<RealT,4> operator *(const RealT & alpha) const
Returns this object mutliplied by alpha.

TFVectorC<RealT,4> operator /(const RealT & alpha) const
Returns this object devided by alpha.

RealT Dot(const TFVectorC<RealT,4> & oth) const
Calculate the dot product of this and 'oth' vector.

TFMatrixC<RealT,4,4> & OuterProduct(const TFVectorC<RealT,4> & av,TFMatrixC<RealT,4,4> & result) const
Calculate the outer product of this vector with av.
The output is assigned to 'result'. A reference to 'result' is returned.

The implementation is in "Ravl/FMatrix.hh", it must be included to use this function.


TFMatrixC<RealT,4,4> & OuterProduct(TFMatrixC<RealT,4,4> & result) const
Calculate the outer product of this vector with itsself.
The output is assigned to 'result'. A reference to 'result' is returned.

The implementation is in "Ravl/FMatrix.hh", it must be included to use this function.


bool Limit(const RealT & min,const RealT & max)
Limit all values in this vector to between min and max.
Returns true if all values in the vector are between the limits. Distance calculations ---------------------

RealT MaxValueDistance(const TFVectorC<RealT,4> & i) const
Returns the distance of two indexes in maximum value metric.

RealT CityBlockDistance(const TFVectorC<RealT,4> & i) const
Returns the distance of two indexes in absolute value metric.

RealT SqrEuclidDistance(const TFVectorC<RealT,4> & i) const
Returns the distance of two indexes in square Euclid metric.

RealT Sum() const
Calculate the sum of all the vector elements.

RealT SumSqr() const
Calculate the sum of the squares of all the vector elements.

const TFMatrixC<RealT,1,4> & T() const
Transpose vector.
The implementation for this can be found in "Ravl/TFMatrix.hh"

istream & operator >>(istream & in,TFVectorC<RealT,4> & dat)

ostream & operator <<(ostream & in,const TFVectorC<RealT,4> & dat)

BinIStreamC & operator >>(BinIStreamC & in,TFVectorC<RealT,4> & dat)

BinOStreamC & operator <<(BinOStreamC & in,const TFVectorC<RealT,4> & dat)


Maintainer:Charles Galambos, Created: 24/01/2001, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002