//============================================================================= public double GetHeightInPixels(double globalHeightValue, double UnitsPerCameraPixel) { // cameraScale doesnt affect on calcuations return(CoordinateSystemConverter._sConvertToScreenWidth(globalHeightValue, m_UnitsPerPixel)); }
//============================================================================= public double GetGlobalHeight(double heightInPixels, double UnitsPerCameraPixel) { // cameraScale doesnt affect on calcuations return(CoordinateSystemConverter._sConvertToGlobalWidth(heightInPixels, m_UnitsPerPixel)); }
//============================================================================= public Point GetLocalPoint(Point globalPoint, double UnitsPerCameraPixel, Vector cameraOffset) { return(CoordinateSystemConverter.sGetLocalPoint(globalPoint, m_UnitsPerPixel, new Vector(0.0, 0.0)) + m_OffsetPixels); }