ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Protected Attributes | List of all members
PolLinie Class Reference

a strait line in polar coordinates More...

#include <linien.h>

Inheritance diagram for PolLinie:
Inheritance graph
Collaboration diagram for PolLinie:
Collaboration graph

Public Member Functions

 PolLinie (double w=0, double p=0)
 
double GetWinkel () const
 angle of the line More...
 
double GetPolAbs () const
 distance between the line an the origin More...
 
template<class _point >
double abstand (const _point &p) const
 distance metric: euclidian More...
 
template<class _point >
double wert (const _point &p) const
 the value of the line function More...
 
double wert (const Pos< 2, double > &p) const
 
double wert (const DMatrix< 2, 1 > &p) const
 
Pos< 2, double > SchnittPunkt (const PolLinie &l2) const
 
- Public Member Functions inherited from ReferenceCount
 ReferenceCount ()
 
virtual ~ReferenceCount ()
 
void IncRefCount ()
 
void DecRefCount ()
 

Protected Attributes

double winkel
 
double polAbs
 

Detailed Description

a strait line in polar coordinates

Definition at line 42 of file linien.h.

Constructor & Destructor Documentation

PolLinie::PolLinie ( double  w = 0,
double  p = 0 
)

Definition at line 47 of file linien.h.

Member Function Documentation

template<class _point >
double PolLinie::abstand ( const _point &  p) const

distance metric: euclidian

Definition at line 62 of file linien.h.

References wert().

Referenced by Linie::abstand().

double PolLinie::GetPolAbs ( ) const

distance between the line an the origin

Definition at line 56 of file linien.h.

References polAbs.

Referenced by SchnittPunkt(), and wert().

double PolLinie::GetWinkel ( ) const

angle of the line

Definition at line 51 of file linien.h.

References winkel.

Referenced by Linie::abstand(), OpticalFlow::GetWinkel(), OpticalFlow::PrintFlowField(), SchnittPunkt(), and wert().

Pos<2,double> PolLinie::SchnittPunkt ( const PolLinie l2) const

Definition at line 80 of file linien.h.

References GetPolAbs(), and GetWinkel().

Referenced by Linie::SchnittPunktAufStrecke().

template<class _point >
double PolLinie::wert ( const _point &  p) const

the value of the line function

Definition at line 68 of file linien.h.

References GetPolAbs(), and GetWinkel().

Referenced by abstand().

double PolLinie::wert ( const Pos< 2, double > &  p) const

Definition at line 72 of file linien.h.

References GetPolAbs(), and GetWinkel().

double PolLinie::wert ( const DMatrix< 2, 1 > &  p) const

Definition at line 76 of file linien.h.

References GetPolAbs(), and GetWinkel().

Member Data Documentation

double PolLinie::polAbs
protected

Definition at line 45 of file linien.h.

Referenced by Linie::ComputePolardarstellung(), and GetPolAbs().

double PolLinie::winkel
protected

Definition at line 45 of file linien.h.

Referenced by Linie::ComputePolardarstellung(), and GetWinkel().


The documentation for this class was generated from the following file:


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)