Click or drag to resize

InverseCorrectionFromScanner(Point3DInt) 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.5.2
Syntax
C#
public Point3D FromScanner(
	Point3DInt scanner
)

Parameters

scanner  Point3DInt
The signed 3D (X/Y/Z) scanner coordinates in bits. When working with 2D then the Z-value should be set to 0.

Return Value

Point3D
The (X/Y/Z) 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 set in the correction file. This function should be used when working with 3D (or 2D) correction files (Is4D). When working with 4D correction files use FromScanner(Point4DInt) instead.
See Also