C# 클래스 NPlot.Transform2D

This class does highly efficient world->physical and physical->world transforms for linear axes.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
InitializeX ( PhysicalAxis physicalAxis ) : void
InitializeY ( PhysicalAxis physicalAxis ) : void
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

Transform2D ( PhysicalAxis xAxis, PhysicalAxis yAxis ) : System.Drawing

Constructor

WorldToPhysicalY ( double world ) : float

비공개 메소드들

메소드 설명
WorldToPhysicalX ( double world ) : float

메소드 상세

InitializeX() 공개 메소드

public InitializeX ( PhysicalAxis physicalAxis ) : void
physicalAxis PhysicalAxis
리턴 void

InitializeY() 공개 메소드

public InitializeY ( PhysicalAxis physicalAxis ) : void
physicalAxis PhysicalAxis
리턴 void

Transform() 공개 메소드

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

Transform() 공개 메소드

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.
리턴 System.Drawing.PointF

Transform2D() 공개 메소드

Constructor
public Transform2D ( PhysicalAxis xAxis, PhysicalAxis yAxis ) : System.Drawing
xAxis PhysicalAxis The x-axis to use for transforms
yAxis PhysicalAxis The y-axis to use for transforms
리턴 System.Drawing

WorldToPhysicalY() 공개 메소드

public WorldToPhysicalY ( double world ) : float
world double
리턴 float