Template for two-dimensional point. More...
#include <geometry_2d.h>
Public Member Functions | |
point2d_t (IN T in_x=0, IN T in_y=0) throw () | |
point2d_t (IN const point2d_t &pt) throw () | |
void | set (IN T in_x, IN T in_y) throw () |
void | clear (void) throw () |
void | dump (const char *title) const throw () |
dumps contents to stderr | |
point2d_t | operator- (IN const point2d_t &rhs) const throw () |
vector subtraction | |
point2d_t | operator+ (IN const point2d_t &rhs) const throw () |
vector addition | |
void | normalize (void) throw () |
Static Public Member Functions | |
static T | dotProduct (IN const point2d_t &u, IN const point2d_t &v) throw () |
Public Attributes | |
T | x |
T | y |
Template for two-dimensional point.
Definition at line 71 of file geometry_2d.h.
Definition at line 73 of file geometry_2d.h.