WT_Logical_Point Class Reference

#include <logical_point.h>

List of all members.


Detailed Description

A 2D point using 32-bit integers for its x and y ordinals.
Examples:

WhipExamples/Color.cpp, WhipExamples/ColorMap.cpp, WhipExamples/ContourSet.cpp, WhipExamples/DashPattern.cpp, WhipExamples/FillPattern.cpp, WhipExamples/Font.cpp, WhipExamples/GouraudPolyline.cpp, WhipExamples/GouraudPolytriangle.cpp, WhipExamples/Layer.cpp, WhipExamples/LinePattern.cpp, WhipExamples/LineWeight.cpp, WhipExamples/ObjectNode.cpp, WhipExamples/Polygon.cpp, WhipExamples/Polyline.cpp, WhipExamples/Polymarker.cpp, WhipExamples/Polytriangle.cpp, WhipExamples/SingleLine.cpp, WhipExamples/Text.cpp, WhipExamples/Url.cpp, WhipExamples/Viewport.cpp, WhipExamples/Visibility.cpp, and WhipExamples/WriteRedline.cpp.

Definition at line 30 of file logical_point.h.

Public Member Functions

 WT_Logical_Point ()
 Constructs a WT_Logical_Point object (defaults to the origin.).
 WT_Logical_Point (WT_Integer32 x, WT_Integer32 y)
 Constructs a WT_Logical_Point object from the given values.
 ~WT_Logical_Point ()
 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_Boolean operator!= (WT_Logical_Point const &lp) const
WT_Boolean operator== (WT_Logical_Point_16 const &lp) const
 Returns WD_True if the given point is equal to this one.
WT_Logical_Point const & operator= (WT_Logical_Point_16 const &in)
 Assigns the values from the given point to this one.
WT_Logical_Point const operator * (WT_Transform const &trans) const
 Applies the given transform to this point and returns the result.
WT_Logical_Point const operator *= (WT_Transform const &trans)
 Applies the given transform to this point, sets it to this point, and returns the result.

Public Attributes

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


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