CImage:WcsIsEq CImage:XyToWcs

CImage:WcsToXy


The WcsToXy method converts a world coordinate system position to a pixel coordinate.

Syntax

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.

Related Topics

CImage, XyToWcs, XyToWcsStr, Image Coordinate System, Subpixel Coordinate Definition