CImage:WcsToXy
The WcsToXy method converts a world coordinate system position to a pixel coordinate.
x, y = CImage:WcsToXy( sWorldX, sWorldY ) |
sWorldX and sWorldY are world coordinates and may be numbers or strings.
x and y are pixel coordinates in pixel units.
On success, this method returns 2 numbers.
On failure, this method returns 0,0.
CImage, XyToWcs, XyToWcsStr, Image Coordinate System, Subpixel Coordinate Definition