Point2D Struct Reference
#include <point.h>
List of all members.
Detailed Description
Representation of a point in . The class represents 2D points in terms of their position (x, y) in in .
- Author:
- Gian Diego Tipaldi
Definition at line 36 of file point.h.
Constructor & Destructor Documentation
Default constructor. It sets the point to be in the origin (0,0)
Definition at line 3 of file point.cpp.
Point2D::Point2D |
( |
double |
_x, |
|
|
double |
_y | |
|
) |
| | |
Constructor. It sets the point to be in (_x, _y)
Definition at line 10 of file point.cpp.
Member Function Documentation
Point2D Point2D::ortho |
( |
|
) |
[inline] |
Returns the orthogonal vector (rotation of 90 deg)
Definition at line 43 of file point.h.
Member Data Documentation
The x coordinate.
Definition at line 46 of file point.h.
The y coordinate.
Definition at line 47 of file point.h.
The documentation for this struct was generated from the following files: