C# Class NPlot.PageAlignedPhysicalAxis

The bare minimum needed to do world->physical and physical->world transforms for vertical axes. Also includes tick placements. Built for speed.
currently unused
Afficher le fichier Open project: mono/nplot-gtk Class Usage Examples

Méthodes publiques

Méthode Description
PageAlignedPhysicalAxis ( PhysicalAxis physicalAxis ) : System

Construct from a fully-blown physical axis.

PhysicalToWorld ( float physical ) : double

return the world coordinate corresponding to the supplied physical coordinate.

WorldToPhysical ( double world ) : float

return the physical coordinate corresponding to the supplied world coordinate.

WorldToPhysicalClipped ( double world ) : float

return the physical coordinate corresponding to the supplied world coordinate, clipped if it is outside the bounds of the axis

Method Details

PageAlignedPhysicalAxis() public méthode

Construct from a fully-blown physical axis.
public PageAlignedPhysicalAxis ( PhysicalAxis physicalAxis ) : System
physicalAxis PhysicalAxis the physical axis to get initial values from.
Résultat System

PhysicalToWorld() public méthode

return the world coordinate corresponding to the supplied physical coordinate.
public PhysicalToWorld ( float physical ) : double
physical float physical coordinate to determine world coordinate for.
Résultat double

WorldToPhysical() public méthode

return the physical coordinate corresponding to the supplied world coordinate.
public WorldToPhysical ( double world ) : float
world double world coordinate to determine physical coordinate for.
Résultat float

WorldToPhysicalClipped() public méthode

return the physical coordinate corresponding to the supplied world coordinate, clipped if it is outside the bounds of the axis
public WorldToPhysicalClipped ( double world ) : float
world double world coordinate to determine physical coordinate for.
Résultat float