Point Class Reference
Simple point class.
More...
#include <point.h>
List of all members.
Public Member Functions |
| Point & | operator+= (const Point &rhs) |
| | Overload += operator to allow class addition.
|
| ostream & | operator<< (ostream &o) |
| | Point () |
| void | scale (double val) |
| | Scale all point values by a factor.
|
| void | setZero () |
| | Set all the point fields to zero.
|
| Vector2d | toVector2d () |
Public Attributes |
| double | n |
| | auxiliary identifier
|
| double | ni |
| | auxiliary identifier 2
|
| double | r |
| | r coordinate (Polar)
|
| double | t |
| | t coordinate (Polar)
|
| double | x |
| | x coordinate (Cartesian)
|
| double | y |
| | y coordinate (Cartesian)
|
| double | z |
| | z coordinate (Cartesian)
|
Detailed Description
Simple point class.
Definition at line 53 of file point.h.
Constructor & Destructor Documentation
Member Function Documentation
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 |
( |
|
) |
|
Member Data Documentation
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:
- /home/laradmin/lar/perception/planarobstacles/mtt/include/mtt/point.h
- /home/laradmin/lar/perception/planarobstacles/mtt/src/point.cpp