Inheritance diagram for NPlot::AxesConstraint::XPixelWorldLength:
Public Member Functions | |
XPixelWorldLength (double p) | |
Constructor, which defines the world pixel length only. | |
XPixelWorldLength (double p, PlotSurface2D.YAxisPosition holdFixedY) | |
Constructor, which defines the world pixel length together with the y-axis that should be held constant when forcing this constraint [the other y-axis only will be moved]. | |
override void | ApplyConstraint (PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2) |
Applies the constraint to the axes. | |
Private Attributes | |
double | pWorldLength_ = 0.0f |
object | holdFixedY_ = null |
TODO: Allow the pixel world length to be set for the top axis.
Definition at line 73 of file AxesConstraint.cs.
|
Constructor, which defines the world pixel length only. Both y-axes will be moved by equal amounts in order to force this constraint.
Definition at line 84 of file AxesConstraint.cs. |
|
Constructor, which defines the world pixel length together with the y-axis that should be held constant when forcing this constraint [the other y-axis only will be moved].
Definition at line 98 of file AxesConstraint.cs. |
|
Applies the constraint to the axes.
Implements NPlot::AxesConstraint. Definition at line 111 of file AxesConstraint.cs. References NPlot::PhysicalAxis::Axis, holdFixedY_, NPlot::PhysicalAxis::PhysicalLength, NPlot::PhysicalAxis::PhysicalMax, NPlot::PhysicalAxis::PhysicalMin, and NPlot::Axis::WorldLength. |
|
Definition at line 76 of file AxesConstraint.cs. Referenced by ApplyConstraint(). |
|
Definition at line 75 of file AxesConstraint.cs. |