NPlot Documented Class Library

Axis.WorldToPhysical Method 

[This is preliminary documentation and subject to change.]

World to physical coordinate transform.

public virtual PointF WorldToPhysical(
   double coord,
   PointF physicalMin,
   PointF physicalMax,
   bool clip
);

Parameters

coord
The coordinate value to transform.
physicalMin
The physical position corresponding to the world minimum of the axis.
physicalMax
The physical position corresponding to the world maximum of the axis.
clip
if false, then physical value may extend outside worldMin / worldMax. If true, the physical value returned will be clipped to physicalMin or physicalMax if it lies outside this range.

Return Value

The transformed coordinates.

Remarks

Not sure how much time is spent in this often called function. If it's lots, then worth optimizing (there is scope to do so).

See Also

Axis Class | NPlot Namespace