Click or drag to resize

InverseCorrectionFromScanner(Point4DInt) Method

Converts the scanner coordinates in bit back to user coordinates in µm.

Namespace: RAYLASE.SPICE3
Assembly: RAYLASE.SPICE3 (in RAYLASE.SPICE3.dll) Version: 3.4.1
Syntax
C#
public Point4D FromScanner(
	Point4DInt scanner
)

Parameters

scanner  Point4DInt
The signed 4D (X/Y/Z/ZoomZ) scanner coordinates in bits. A possible not existing axis should be set to 0

Return Value

Point4D
The user coordinates in (µm)
Remarks
The scanner coordinates are expected to be in the range between -524288 and 524287 bits. Note that scanner coordinates received by the TraceBufferClient are unsigned. The helper function ToSignedPosition(Int64) can be used to convert them to signed position bits. The range of the returned coordinates in µm depends on the FieldSize and the MaxMagnification set in the correction file. This function should be used when working with 4D correction files (Is4D). When working with 3D or 2D correction files use FromScanner(Point3DInt) instead. Note that there are different types of 4D correction files available to convert 4D (Y/Y/Z/M) user coordinates to scanner coordinates. The scanner coordinates can be X/Y/Z/ZoomZ or X/Y/Z or X/Y/ZoomZ. When converting back to user coordinates than the values for a possible not existing axis should be set to 0.
See Also