C# Class NPlot.Transform2D.FastTransform2D

This class does highly efficient world->physical and physical->world transforms for linear axes.
Inheritance: ITransform2D
Mostra file Open project: mono/nplot-gtk

Public Methods

Method Description
FastTransform2D ( PhysicalAxis xAxis, PhysicalAxis yAxis ) : System

Constructor

Transform ( PointD worldPoint ) : PointF

Transforms the given world point to physical coordinates

Transform ( double x, double y ) : PointF

Transforms the given world point to physical coordinates

Method Details

FastTransform2D() public method

Constructor
public FastTransform2D ( PhysicalAxis xAxis, PhysicalAxis yAxis ) : System
xAxis PhysicalAxis The x-axis to use for transforms
yAxis PhysicalAxis The y-axis to use for transforms
return System

Transform() public method

Transforms the given world point to physical coordinates
public Transform ( PointD worldPoint ) : PointF
worldPoint PointD the world point to transform
return System.Drawing.PointF

Transform() public method

Transforms the given world point to physical coordinates
public Transform ( double x, double y ) : PointF
x double x coordinate of world point to transform.
y double y coordinate of world point to transform.
return System.Drawing.PointF