Click or drag to resize

GM_UtilityProjectRectangle Method

Projects a rectangle from one projection to another

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 ProjectRectangle(
	GM_Rectangle_t aRectIn,
	out GM_Rectangle_t aRectOut,
	GM_Projection_t aProjIn,
	GM_Projection_t aProjOut
)

Parameters

aRectIn
Type: GlobalMapper.TypesGM_Rectangle_t
IN: Rectangle to convert in input projection
aRectOut
Type: GlobalMapper.TypesGM_Rectangle_t
OUT: Rectangle in output projection
aProjIn
Type: GlobalMapper.TypesGM_Projection_t
IN: projection to convert from (NULL for current)
aProjOut
Type: GlobalMapper.TypesGM_Projection_t
IN: projection to convert to (NULL for current)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also