Simple point class.
More...
#include <point.h>
Simple point class.
Definition at line 53 of file point.h.
double Point::euclideanDistance |
( |
const Point::Ptr |
p2 | ) |
|
|
inline |
double Point::euclideanDistance |
( |
const Point |
p2 | ) |
|
|
inline |
Overload += operator to allow class addition.
Definition at line 50 of file point.cpp.
ostream & Point::operator<< |
( |
ostream & |
o | ) |
|
void Point::scale |
( |
double |
val | ) |
|
Scale all point values by a factor.
- Parameters
-
Definition at line 61 of file point.cpp.
Set all the point fields to zero.
Definition at line 39 of file point.cpp.
Vector2d Point::toVector2d |
( |
| ) |
|
auxiliary identifier
Definition at line 89 of file point.h.
auxiliary identifier 2
Definition at line 91 of file point.h.
r coordinate (Polar)
Definition at line 85 of file point.h.
t coordinate (Polar)
Definition at line 87 of file point.h.
x coordinate (Cartesian)
Definition at line 79 of file point.h.
y coordinate (Cartesian)
Definition at line 81 of file point.h.
z coordinate (Cartesian)
Definition at line 83 of file point.h.
The documentation for this class was generated from the following files: