Click or drag to resize

FieldCorrectionApplyTrapezoid(dvec2, dvec2, Double, Double, Int32) Method

Adjusts the correction table so that the beam field is scaled like a trapezoid.

Namespace: RAYLASE.Marker.Corrections
Assembly: RAYLASE.Marker.Corrections (in RAYLASE.Marker.Corrections.dll) Version: 2.31.0
Syntax
C#
public void ApplyTrapezoid(
	dvec2 expectedBottomLeft,
	dvec2 expectedTopRight,
	double scaleNear,
	double scaleFar,
	int axis
)

Parameters

expectedBottomLeft  dvec2
The bottom left corner of the measured area.
expectedTopRight  dvec2
The top right corner of the area.
scaleNear  Double
The near corner is the bottom left corner. For X the near side is bottom, for y left.
scaleFar  Double
The far corner is the upper right corner. For X the near side is top, for y right.
axis  Int32
The axis to be scaled. Must be 0 (X) or 1 (Y).
See Also