NPlot::AxesConstraint Class Reference

Classes derived from this abstract base class define and can apply some form of constraint to the positioning and length of one or more of the four axes of a PlotSurface2D. More...

Inheritance diagram for NPlot::AxesConstraint:

NPlot::AxesConstraint::AspectRatio NPlot::AxesConstraint::AxisPosition NPlot::AxesConstraint::XPixelWorldLength NPlot::AxesConstraint::YPixelWorldLength List of all members.

Public Member Functions

abstract void ApplyConstraint (PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2)
 Applies the constraint to the axes.

Classes

class  AspectRatio
 Defines an axes constraint that forces the world width and height pixel lengths to be at the provided ratio. More...
class  AxisPosition
 Defines an AxisConstraint that forces the specified axis to be placed at a specific physical position. More...
class  XPixelWorldLength
 Defines an AxisConstraint that forces the world length corresponding to one pixel on the bottom x-axis to be a certain value. More...
class  YPixelWorldLength
 Defines an AxisConstraint that forces the world length corresponding to one pixel on the left y-axis to be a certain value. More...

Detailed Description

Classes derived from this abstract base class define and can apply some form of constraint to the positioning and length of one or more of the four axes of a PlotSurface2D.

Definition at line 64 of file AxesConstraint.cs.


Member Function Documentation

abstract void NPlot::AxesConstraint::ApplyConstraint PhysicalAxis  pXAxis1,
PhysicalAxis  pYAxis1,
PhysicalAxis  pXAxis2,
PhysicalAxis  pYAxis2
[pure virtual]
 

Applies the constraint to the axes.

Must be overriden.

Parameters:
pXAxis1 The bottom x-axis.
pYAxis1 The left y-axis.
pXAxis2 The top x-axis.
pYAxis2 The right y-axis.

Implemented in NPlot::AxesConstraint::XPixelWorldLength, NPlot::AxesConstraint::YPixelWorldLength, NPlot::AxesConstraint::AxisPosition, and NPlot::AxesConstraint::AspectRatio.


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