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

a point (integer coordinates) More...

#include <punkt.h>

Collaboration diagram for Punkt:
Collaboration graph

Public Member Functions

 Punkt (int xval=0, int yval=0)
 
 Punkt (double xval=0, double yval=0)
 
double abstand (const Punkt &p) const
 distance metric: euclidian More...
 

Public Attributes

int x
 
int y
 

Detailed Description

a point (integer coordinates)

Definition at line 35 of file punkt.h.

Constructor & Destructor Documentation

Punkt::Punkt ( int  xval = 0,
int  yval = 0 
)

Definition at line 39 of file punkt.h.

Punkt::Punkt ( double  xval = 0,
double  yval = 0 
)
explicit

Definition at line 40 of file punkt.h.

Member Function Documentation

double Punkt::abstand ( const Punkt p) const

distance metric: euclidian

Definition at line 45 of file punkt.h.

References x, and y.

Member Data Documentation

int Punkt::x

Definition at line 37 of file punkt.h.

Referenced by abstand().

int Punkt::y

Definition at line 38 of file punkt.h.

Referenced by abstand().


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


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