Click or drag to resize

FieldCorrectionToGrid Method

Calculates the row and column at the specified position.

Namespace: RAYLASE.Marker.Corrections
Assembly: RAYLASE.Marker.Corrections (in RAYLASE.Marker.Corrections.dll) Version: 2.19.0
Syntax
C#
public void ToGrid(
	out double row,
	out double column,
	double[] position
)

Parameters

row  Double
The row that is associated with the position's Y coordinate.
column  Double
The column that is associated with the position's X coordinate.
position  Double
A position whose X and Y values will be used to determine the grid's row and column.
Remarks

This method will return the grid position as fractional value. The closest grid point can be evaluated by rounding the returned values to the nearest integer value.

For the calculation of row and column only the position's X and Y are required. Z will be ignored

If the position lies outside the beam field, then the returned row and column will return values that are outside the legal boundaries of the correction table.

See Also