![]() |
KudanCV
|
#include <KudanCV.h>
Public Member Functions | |
| KudanVector2 () | |
| KudanVector2 (float x, float y) | |
| void | zero () |
| std::string | toString () |
Public Attributes | |
| float | x |
| float | y |
Simple representation of a 2D point.
| KudanVector2::KudanVector2 | ( | ) |
Default constructor initialises the data to the zero vector (0,0,0)'
| KudanVector2::KudanVector2 | ( | float | x, |
| float | y | ||
| ) |
Constructor for initialising the data to the given vector
| x,y | Coefficients of the vector |
| std::string KudanVector2::toString | ( | ) |
Returns a representation of this as a string (x,y)
| void KudanVector2::zero | ( | ) |
Set the all coefficients to zero
| float KudanVector2::x |
Public x, y coefficients of the vector