Global Mapper SDK
Calculates the width and height of a rectangle in the current projection. The rectangle can either be specified or the last drawn rectangle can be used.
Syntax
C++
Copy
GM_Error_t32 GM_CalcWorldRectSize
(
const GM_Rectangle_t* aWorldBounds, // IN: World bounds to calc size of or NULL for last drawn
double* aWidthMeters, // OUT: Width of rectangle in meters
double* aHeightMeters // OUT: Height of rectangle in meters
);
Comments
0 comments
Please sign in to leave a comment.