NPlot Documented Class Library

PhysicalAxis.PhysicalToWorld Method 

[This is preliminary documentation and subject to change.]

Given a physical point on the graphics surface, returns the world value of it's projection onto the axis [i.e. closest point on the axis]. The function is implemented for axes of arbitrary orientation.

public double PhysicalToWorld(
   Point p,
   bool clip
);

Parameters

p
Physical point to find corresponding world value of.
clip
if true, returns a world position outside WorldMin / WorldMax range if this is closer to the axis line. If false, such values will be clipped to be either WorldMin or WorldMax as appropriate.

Return Value

the world value of the point's projection onto the axis.

See Also

PhysicalAxis Class | NPlot Namespace