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
파일 보기 프로젝트 열기: mono/nplot-gtk 1 사용 예제들

공개 메소드들

메소드 설명
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