"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "saga-gis/src/tools/projection/pj_proj4/crs_transform_shapes.cpp" between
saga-7.6.2_src.zip and saga-7.6.3_src.zip

About: SAGA (System for Automated Geoscientific Analyses) is a Geographic Information System (GIS) software for geodata processing and analysis. All source codes.

crs_transform_shapes.cpp  (saga-7.6.2_src):crs_transform_shapes.cpp  (saga-7.6.3_src)
skipping to change at line 51 skipping to change at line 51
// contact: Olaf Conrad // // contact: Olaf Conrad //
// Institute of Geography // // Institute of Geography //
// University of Hamburg // // University of Hamburg //
// Germany // // Germany //
// // // //
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
//--------------------------------------------------------- //---------------------------------------------------------
#include "crs_transform_shapes.h" #include "crs_transform_shapes.h"
#ifdef _OPENMP
#include <omp.h>
#endif
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
// // // //
// // // //
// // // //
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
//--------------------------------------------------------- //---------------------------------------------------------
CCRS_Transform_Shapes::CCRS_Transform_Shapes(bool bList) CCRS_Transform_Shapes::CCRS_Transform_Shapes(bool bList)
{ {
m_bList = bList; m_bList = bList;
skipping to change at line 311 skipping to change at line 307
} }
//----------------------------------------------------- //-----------------------------------------------------
else // parallel processing else // parallel processing
{ {
m_Projector.Set_Copies(SG_OMP_Get_Max_Num_Threads()); m_Projector.Set_Copies(SG_OMP_Get_Max_Num_Threads());
#pragma omp parallel for #pragma omp parallel for
for(int i=0; i<pShapes->Get_Count(); i++) for(int i=0; i<pShapes->Get_Count(); i++)
{ {
int Thread = omp_get_thread_num(); int Thread = SG_OMP_Get_Thread_Num();
if( !Thread ) if( !Thread )
{ {
Set_Progress(i * SG_OMP_Get_Max_Num_Threads(), pS hapes->Get_Count()); Set_Progress(i * SG_OMP_Get_Max_Num_Threads(), pS hapes->Get_Count());
} }
if( pShapes->Get_ObjectType() == SG_DATAOBJECT_TYPE_Point Cloud ) if( pShapes->Get_ObjectType() == SG_DATAOBJECT_TYPE_Point Cloud )
{ {
TSG_Point_Z p = pShapes->asPointCloud() ->Get_Point(i); TSG_Point_Z p = pShapes->asPointCloud() ->Get_Point(i);
 End of changes. 2 change blocks. 
5 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)