C# Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

PageAlignedPhysicalAxis() публичный Метод

Construct from a fully-blown physical axis.
public PageAlignedPhysicalAxis ( PhysicalAxis physicalAxis ) : System
physicalAxis PhysicalAxis the physical axis to get initial values from.
Результат System

PhysicalToWorld() публичный Метод

return the world coordinate corresponding to the supplied physical coordinate.
public PhysicalToWorld ( float physical ) : double
physical float physical coordinate to determine world coordinate for.
Результат double

WorldToPhysical() публичный Метод

return the physical coordinate corresponding to the supplied world coordinate.
public WorldToPhysical ( double world ) : float
world double world coordinate to determine physical coordinate for.
Результат float

WorldToPhysicalClipped() публичный Метод

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.
Результат float