예제 #1
0
 public void SetOriginPoint(LatLongAltitude lla)
 {
     if (m_coordinateSystem == CoordinateSystem.ECEF)
     {
         m_cameraController.MoveTo(lla.GetLatLong());
     }
     else
     {
         m_frame.SetCentralPoint(lla);
     }
 }
예제 #2
0
        public void SetOriginPoint(LatLongAltitude lla)
        {
            m_originECEF = lla.ToECEF();

            if (m_coordinateSystem == CoordinateSystem.ECEF)
            {
                if (m_cameraController.HasControlledCamera)
                {
                    m_cameraController.MoveTo(lla.GetLatLong());
                }
                else
                {
                    UpdateTransforms();
                }
            }
            else
            {
                m_frame.SetCentralPoint(lla);
                UpdateTransforms();
            }
        }