#include <nr-point.h>
Definition at line 25 of file nr-point.h.
Public Member Functions | |
Point | ccw () const |
Point | cw () const |
void | normalize () |
operator Geom::Point () const | |
Point & | operator*= (Matrix const &m) |
Point & | operator*= (double const s) |
Point & | operator+= (Point const &o) |
Point & | operator-= (Point const &o) |
Point & | operator/= (double const s) |
Point & | operator= (Point const &p) |
int | operator== (const Point &in_pnt) |
Coord & | operator[] (Dim2 d) throw () |
Coord | operator[] (Dim2 d) const throw () |
Coord & | operator[] (unsigned i) |
Coord | operator[] (unsigned i) const |
Point (Geom::Point const &p) | |
Point (Point const &p) | |
Point (Coord x, Coord y) | |
void | round (int places=0) |
A function to lower the precision of the point. | |
Private Attributes | |
Coord | _pt [2] |
Friends | |
std::ostream & | operator<< (std::ostream &out_file, const NR::Point &in_pnt) |