isis/src/qisis/objs/MosaicSceneWidget/MosaicGridTool.cpp
void MosaicGridTool::onProjectionChanged() {
    TProjection * tproj = (TProjection *)getWidget()->getProjection();
    
    // If Projection changed from a file, force extents to come from 
    // the new map file
    m_latExtents = Map;
    m_lonExtents = Map; 

    Latitude minLat = Latitude(tproj->MinimumLatitude(), Angle::Degrees);
    Latitude maxLat = Latitude(tproj->MaximumLatitude(), Angle::Degrees);
    
    setLatExtents(m_latExtents, minLat, maxLat);
  
    Longitude minLon = Longitude(tproj->MinimumLongitude(), Angle::Degrees);
    Longitude maxLon = Longitude(tproj->MaximumLongitude(), Angle::Degrees);
  
    setLonExtents(m_lonExtents, minLon, maxLon);
  }
/*
   * Updates lat/lon ranges when a new projection file is loaded. Also 
   * forces the lat/lon extent source to Map resetting user options in the grid tool dialog. 
   * 
   */
Updates lat/lon ranges when a new projection file is loaded. Also
forces the lat/lon extent source to Map resetting user options in the grid tool dialog.
Updates lat / lon ranges when a new projection file is loaded . Also forces the lat / lon extent source to Map resetting user options in the grid tool dialog .
void MosaicGridTool::onProjectionChanged() {
    TProjection * tproj = (TProjection *)getWidget()->getProjection();
    m_latExtents = Map;
    m_lonExtents = Map; 
    Latitude minLat = Latitude(tproj->MinimumLatitude(), Angle::Degrees);
    Latitude maxLat = Latitude(tproj->MaximumLatitude(), Angle::Degrees);
    setLatExtents(m_latExtents, minLat, maxLat);
    Longitude minLon = Longitude(tproj->MinimumLongitude(), Angle::Degrees);
    Longitude maxLon = Longitude(tproj->MaximumLongitude(), Angle::Degrees);
    setLonExtents(m_lonExtents, minLon, maxLon);
  }
void MosaicGridTool :: onProjectionChanged ( ) { TProjection * tproj = ( TProjection * ) getWidget ( ) -> getProjection ( ) ; m_latExtents = Map ; m_lonExtents = Map ; Latitude minLat = Latitude ( tproj -> MinimumLatitude ( ) , Angle :: Degrees ) ; Latitude maxLat = Latitude ( tproj -> MaximumLatitude ( ) , Angle :: Degrees ) ; setLatExtents ( m_latExtents , minLat , maxLat ) ; Longitude minLon = Longitude ( tproj -> MinimumLongitude ( ) , Angle :: Degrees ) ; Longitude maxLon = Longitude ( tproj -> MaximumLongitude ( ) , Angle :: Degrees ) ; setLonExtents ( m_lonExtents , minLon , maxLon ) ; }
Updates lat/lon ranges when a new projection file is loaded.
Updates lat / lon ranges when a new projection file is loaded .
// If Projection changed from a file, force extents to come from  // the new map file