GM_UtilityConvertCoordGroundToPixelWithOrientationDouble Method |
Convert a coordinate between the current projection and a pixel coordinate.
The conversion space can be either the last drawn coordinate space or
the caller can provide the coordinate space to work in.
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 ConvertCoordGroundToPixelWithOrientationDouble(
double aGroundX,
double aGroundY,
out double aPixelX,
out double aPixelY,
GM_Rectangle_t aWorldBounds,
GM_PixelRect_t aPixelRect,
double aOrientation
)
Public Shared Function ConvertCoordGroundToPixelWithOrientationDouble (
aGroundX As Double,
aGroundY As Double,
<OutAttribute> ByRef aPixelX As Double,
<OutAttribute> ByRef aPixelY As Double,
aWorldBounds As GM_Rectangle_t,
aPixelRect As GM_PixelRect_t,
aOrientation As Double
) As GM_Error_t32
public:
static GM_Error_t32 ConvertCoordGroundToPixelWithOrientationDouble(
double aGroundX,
double aGroundY,
[OutAttribute] double% aPixelX,
[OutAttribute] double% aPixelY,
GM_Rectangle_t^ aWorldBounds,
GM_PixelRect_t^ aPixelRect,
double aOrientation
)
Parameters
- aGroundX
- Type: SystemDouble
IN: X Coord in current projection - aGroundY
- Type: SystemDouble
IN: Y Coord in current projection - aPixelX
- Type: SystemDouble
OUT: X Coord in pixel space - aPixelY
- Type: SystemDouble
OUT: Y Coord in pixel space - aWorldBounds
- Type: GlobalMapper.TypesGM_Rectangle_t
IN: World bounds to convert from or NULL for last drawn. GM_Rectangle_t* - aPixelRect
- Type: GlobalMapper.TypesGM_PixelRect_t
IN: Pixel bounds to convert from or NULL for last drawn. GM_PixelRect_t* - aOrientation
- Type: SystemDouble
IN Orientation of coordinate space to use (0 is north up, 90 is east up, 180 is south up, 270 is west up)
Return Value
Type:
GM_Error_t32A GM Error Code
See Also