Click or drag to resize

BasePluginCameraTransformWorldPosAndConvertToPixelPos Method

Transforms the given point (in world coordinates) according to the field and process trafo, subtracts the center offset if demanded and converts it to the same point in pixel coordinates of the big scan field image.

Namespace: RAYLASE.Marker.CamerasPlugin
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public dvec2 TransformWorldPosAndConvertToPixelPos(
	dvec3 pointWorld,
	bool subtractCenterOffset
)

Parameters

pointWorld  dvec3
The untransformed point in world coordinates as is given when picking in the workspace.
subtractCenterOffset  Boolean
If true the center offset is subtracted from the transformed point.

Return Value

dvec2
The same point as given in world coordinates but in pixel coordinates of the scan field image.
See Also