CImageView:SetCursorPosWcs
The SetCursorPosWcs method sets the center position of the image cursor in the CImageView using world coordinates, rather than pixel coordinates.
CImageView:SetCursorPosWcs( x, y ) |
The x and y values specify the target position in world coordinates, and may be numbers or strings.
This method uses the world coordinate calibration from the current image to compute the pixel position in the image window. This requires that a WCS calibration exist for the current displayed image. If no WCS calibration exists, Mira attempts to use the specified position as pixel coordinates.
CImageView, SetCursorPos, GetCursorPos, Image Coordinate System, Subpixel Coordinate Definition