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