GetCoordinateType
Gets the layer's coordinate system type.
UINT GetCoordinateType( )
a value from the following enumeration indicating the type:
enum {
FRAME_COOR_CART = 0, // XY Cartesian coordinate system
FRAME_COOR_POLAR, // polar
FRAME_COOR_TERNARY, // ternary
FRAME_COOR_SMITH_CHART // Smith chart
};
EX1
//Get coordinate type of the graphlayer. void GraphLayer_GetCoordinateType_ex1() { GraphPage gp; gp.Create("origin"); GraphLayer lay(gp.GetName(),0); if (lay.GetCoordinateType() == FRAME_COOR_CART) out_str("The coordinate system is Cartesian"); else out_str("The coordinate system is not Cartesian"); }
origin.h