C# 클래스 NPlot.AxesConstraint.XPixelWorldLength

Defines an AxisConstraint that forces the world length corresponding to one pixel on the bottom x-axis to be a certain value. TODO: Allow the pixel world length to be set for the top axis.
상속: AxesConstraint
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian

공개 메소드들

메소드 설명
ApplyConstraint ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2 ) : void

Applies the constraint to the axes.

XPixelWorldLength ( double p ) : System

Constructor, which defines the world pixel length only. Both y-axes will be moved by equal amounts in order to force this constraint.

XPixelWorldLength ( double p, PlotSurface2D holdFixedY ) : System

Constructor, which defines the world pixel length together with the y-axis that should be held constant when forcing this constraint [the other y-axis only will be moved].

메소드 상세

ApplyConstraint() 공개 메소드

Applies the constraint to the axes.
public ApplyConstraint ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2 ) : void
pXAxis1 PhysicalAxis The bottom x-axis.
pYAxis1 PhysicalAxis The left y-axis.
pXAxis2 PhysicalAxis The top x-axis.
pYAxis2 PhysicalAxis The right y-axis.
리턴 void

XPixelWorldLength() 공개 메소드

Constructor, which defines the world pixel length only. Both y-axes will be moved by equal amounts in order to force this constraint.
public XPixelWorldLength ( double p ) : System
p double The world pixel length
리턴 System

XPixelWorldLength() 공개 메소드

Constructor, which defines the world pixel length together with the y-axis that should be held constant when forcing this constraint [the other y-axis only will be moved].
public XPixelWorldLength ( double p, PlotSurface2D holdFixedY ) : System
p double The world pixel length
holdFixedY PlotSurface2D The position of this y-axis will be /// held constant. The other y-axis will be moved in order to /// force the constraint.
리턴 System