CXYCoords DataType: CXYCoords Use: An array of co-ordinates representing alternating x and y values. Members: UserUnits (double*): Stores x,y co-ordinates as 'double'. DBUnits (int*) : Stores x,y co-ordinates as 'int'. Notes: - If the QisLib_SetVectorUnit setting is User Units (_QISUNIT_UU), the array can be accessed using the UserUnits member. If the QisLib_SetVectorUnit setting is Database Units (_QISUNIT_DBU), the array can be accessed using the DBUnits member. - Either UserUnits or DBUnits is valid at a given time but not both. - Which one to access depends on the QisLib_SetVectorUnit setting. See QisLib_SetVectorUnit for further information. Example: CXYCoords List; if(GetVectorUnit == _QISUNIT_DBU) { List.DBUnits = new int[10]; List.DBUnits[0] = x0; List.DBUnits[1] = y0; List.DBUnits[2] = x1; List.DBUnits[3] = y1; ... } else { List.UserUnits = new double[10]; List.UserUnits[0] = x0; List.UserUnits[1] = y0; List.UserUnits[2] = x1; List.UserUnits[3] = y1; ... }References: CQisBoundary CQisPath CQisBoundary CQisBoundary QisLib_GetDataVector QisLib_SetVectorUnit |