xc
|
Dirección en dos dimensiones. More...
#include <Dir2d.h>
Public Member Functions | |
Dir2d (const CGDirection_2 d) | |
Dir2d (const GEOM_FT &x, const GEOM_FT &y) | |
Constructor from x and y components. | |
Dir2d (const double &ang) | |
Constructor from an angle. | |
Dir2d (const Vector2d &v) | |
Constructor from a vector. | |
virtual bool | operator== (const Dir2d &) const |
Comparison operator. | |
bool | operator!= (const Dir2d &) const |
Comparison operator. | |
const CGDirection_2 & | ToCGAL (void) const |
int | dimension (void) const |
void | Neg (void) |
GEOM_FT | operator() (const size_t &i) const |
GEOM_FT | dx (void) const |
GEOM_FT | dy (void) const |
Dir2d | Perpendicular (void) const |
Return the perpendicular direction in counterclockwise sense. | |
FT_matrix | getMatrix (void) const |
returns the x and y components in a row matrix. | |
Vector2d | GetVector (void) const |
returns the x and y components in a vector. | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Dir2d &n) |
insertion into an output operator. | |
Dirección en dos dimensiones.