WT_Point2D Class Reference

#include <point.h>

List of all members.


Detailed Description

2D point (using doubles) used in 3x3 matrix calculations.

See also:
WT_Matrix2D_IO

Definition at line 60 of file point.h.

Public Member Functions

 WT_Point2D ()
 Constructs a WT_Point2D object.
 WT_Point2D (WT_Point2D const &r)
 Copy constructor. Constructs a WT_Point2D object from another.
 WT_Point2D (double x, double y)
 Constructs a WT_Point2D object with the given coordinates.
virtual ~WT_Point2D ()
WT_Point2D const & operator= (WT_Point2D const &rPt)
 Assignment operator implementation.
WT_Boolean operator== (WT_Point2D const &rPt) const
 Returns WD_True if the two points are equal.
const char * toString (WT_Unsigned_Integer16 nPrecision)
 Returns a string representation of the point, with the provided precision.

Public Attributes

double m_x
double m_y


Member Data Documentation

double WT_Point2D::m_x
 

Magnitude of point along the X-axis.

Definition at line 68 of file point.h.

double WT_Point2D::m_y
 

Magnitude of point along the Y-axis.

Definition at line 69 of file point.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:41:24 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5