WT_Logical_Point_16 Class Reference

#include <logical_point.h>

List of all members.


Detailed Description

A 2D point using 16-bit integers for its x and y ordinals.

Definition at line 79 of file logical_point.h.

Public Member Functions

 WT_Logical_Point_16 ()
 Constructs a WT_Logical_Point_16 object (defaults to the origin.).
 WT_Logical_Point_16 (WT_Integer32 x, WT_Integer32 y)
 Constructs a WT_Logical_Point object from the given values.
 WT_Logical_Point_16 (WT_Integer16 x, WT_Integer16 y)
 Constructs a WT_Logical_Point object from the given values.
 ~WT_Logical_Point_16 ()
 Destroys a WT_Logical_Point object.
WT_Boolean operator== (WT_Logical_Point const &lp) const
 Returns WD_True if the given point is equal to this one.
WT_Logical_Point_16 const & operator= (WT_Logical_Point const &in)
 Assignment operator. Sets the value of the given point to this one.

Public Attributes

WT_Integer16 m_x
 Magnitude of the point along the X-axis.
WT_Integer16 m_y
 Magnitude of the point along the Y-axis.


Constructor & Destructor Documentation

WT_Logical_Point_16::WT_Logical_Point_16 WT_Integer32  x,
WT_Integer32  y
[inline]
 

Constructs a WT_Logical_Point object from the given values.

Note:
This is a convenience constructor. Client code should ensure that the each of the values fit into 16-bits.

Definition at line 95 of file logical_point.h.


Member Function Documentation

WT_Logical_Point_16 const& WT_Logical_Point_16::operator= WT_Logical_Point const &  in  )  [inline]
 

Assignment operator. Sets the value of the given point to this one.

Note:
This is a convenience operator. Client code should ensure that the each of the values fit into 16-bits.

Definition at line 126 of file logical_point.h.


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