NPlot::Transform2D::DefaultTransform2D Class Reference

This class does world -> physical transforms for the general case. More...

Inheritance diagram for NPlot::Transform2D::DefaultTransform2D:

NPlot::ITransform2D List of all members.

Public Member Functions

 DefaultTransform2D (PhysicalAxis xAxis, PhysicalAxis yAxis)
 Constructor.
PointF Transform (double x, double y)
 Transforms the given world point to physical coordinates.
PointF Transform (PointD worldPoint)
 Transforms the given world point to physical coordinates.

Private Attributes

PhysicalAxis xAxis_
PhysicalAxis yAxis_

Detailed Description

This class does world -> physical transforms for the general case.

Definition at line 89 of file Transform2D.cs.


Constructor & Destructor Documentation

NPlot::Transform2D::DefaultTransform2D::DefaultTransform2D PhysicalAxis  xAxis,
PhysicalAxis  yAxis
[inline]
 

Constructor.

Parameters:
xAxis The x-axis to use for transforms
yAxis The y-axis to use for transforms

Definition at line 99 of file Transform2D.cs.

References xAxis_, and yAxis_.


Member Function Documentation

PointF NPlot::Transform2D::DefaultTransform2D::Transform PointD  worldPoint  )  [inline]
 

Transforms the given world point to physical coordinates.

Parameters:
worldPoint the world point to transform
Returns:
the corresponding physical point

Implements NPlot::ITransform2D.

Definition at line 125 of file Transform2D.cs.

References NPlot::PhysicalAxis::WorldToPhysical(), xAxis_, and yAxis_.

PointF NPlot::Transform2D::DefaultTransform2D::Transform double  x,
double  y
[inline]
 

Transforms the given world point to physical coordinates.

Parameters:
x x coordinate of world point to transform.
y y coordinate of world point to transform.
Returns:
the corresponding physical point.

Implements NPlot::ITransform2D.

Definition at line 112 of file Transform2D.cs.

References NPlot::PhysicalAxis::WorldToPhysical(), xAxis_, and yAxis_.


Member Data Documentation

PhysicalAxis NPlot::Transform2D::DefaultTransform2D::xAxis_ [private]
 

Definition at line 91 of file Transform2D.cs.

Referenced by DefaultTransform2D(), NPlot::Transform2D::FastTransform2D::FastTransform2D(), NPlot::Transform2D::FastTransform2D::Transform(), and Transform().

PhysicalAxis NPlot::Transform2D::DefaultTransform2D::yAxis_ [private]
 

Definition at line 92 of file Transform2D.cs.

Referenced by DefaultTransform2D(), NPlot::Transform2D::FastTransform2D::FastTransform2D(), NPlot::Transform2D::FastTransform2D::Transform(), and Transform().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 01:04:09 2005 for NPlot by  doxygen 1.4.5