Public Member Functions | |
PageAlignedPhysicalAxis (PhysicalAxis physicalAxis) | |
Construct from a fully-blown physical axis. | |
float | WorldToPhysical (double world) |
return the physical coordinate corresponding to the supplied world coordinate. | |
float | WorldToPhysicalClipped (double world) |
return the physical coordinate corresponding to the supplied world coordinate, clipped if it is outside the bounds of the axis | |
double | PhysicalToWorld (float physical) |
return the world coordinate corresponding to the supplied physical coordinate. | |
Private Attributes | |
int | pMin_ |
int | pMax_ |
int | pLength_ |
double | worldMin_ |
double | worldMax_ |
double | worldLength_ |
Also includes tick placements. Built for speed.
currently unused
Definition at line 63 of file PageAlignedPhysicalAxis.cs.
|
Construct from a fully-blown physical axis.
Definition at line 79 of file PageAlignedPhysicalAxis.cs. References NPlot::PhysicalAxis::Axis, NPlot::PhysicalAxis::PhysicalMax, NPlot::PhysicalAxis::PhysicalMin, pLength_, pMax_, pMin_, worldLength_, NPlot::Axis::WorldMax, worldMax_, NPlot::Axis::WorldMin, and worldMin_. |
|
return the world coordinate corresponding to the supplied physical coordinate.
Definition at line 144 of file PageAlignedPhysicalAxis.cs. References pLength_, pMin_, worldLength_, and worldMin_. |
|
return the physical coordinate corresponding to the supplied world coordinate.
Definition at line 110 of file PageAlignedPhysicalAxis.cs. References pLength_, pMin_, worldLength_, and worldMin_. |
|
return the physical coordinate corresponding to the supplied world coordinate, clipped if it is outside the bounds of the axis
Definition at line 122 of file PageAlignedPhysicalAxis.cs. References pLength_, pMax_, pMin_, worldLength_, worldMax_, and worldMin_. |
|
Definition at line 68 of file PageAlignedPhysicalAxis.cs. Referenced by PageAlignedPhysicalAxis(), PhysicalToWorld(), WorldToPhysical(), and WorldToPhysicalClipped(). |
|
Definition at line 67 of file PageAlignedPhysicalAxis.cs. Referenced by PageAlignedPhysicalAxis(), and WorldToPhysicalClipped(). |
|
Definition at line 66 of file PageAlignedPhysicalAxis.cs. Referenced by PageAlignedPhysicalAxis(), PhysicalToWorld(), WorldToPhysical(), and WorldToPhysicalClipped(). |
|
Definition at line 72 of file PageAlignedPhysicalAxis.cs. Referenced by PageAlignedPhysicalAxis(), PhysicalToWorld(), WorldToPhysical(), and WorldToPhysicalClipped(). |
|
Definition at line 71 of file PageAlignedPhysicalAxis.cs. Referenced by PageAlignedPhysicalAxis(), and WorldToPhysicalClipped(). |
|
Definition at line 70 of file PageAlignedPhysicalAxis.cs. Referenced by PageAlignedPhysicalAxis(), PhysicalToWorld(), WorldToPhysical(), and WorldToPhysicalClipped(). |