SAGA API v9.10
Loading...
Searching...
No Matches
grids.cpp File Reference
#include "saga_api.h"
#include "grids.h"
#include "data_manager.h"
#include "tool_library.h"

Go to the source code of this file.

Macros

#define ADD_TO_SPLINE(i)
#define SORT_SWAP(a, b)
#define SG_GRID_HISTOGRAM_CLASSES_DEFAULT   255

Functions

CSG_GridsSG_Create_Grids (void)
CSG_GridsSG_Create_Grids (const CSG_Grids &Grids)
CSG_GridsSG_Create_Grids (const CSG_Grids *_pGrids, bool bCopyData)
CSG_GridsSG_Create_Grids (const char *File, bool bLoadData)
CSG_GridsSG_Create_Grids (const wchar_t *File, bool bLoadData)
CSG_GridsSG_Create_Grids (const CSG_String &File, bool bLoadData)
CSG_GridsSG_Create_Grids (const CSG_Grid_System &System, int NZ, double zMin, TSG_Data_Type Type)
CSG_GridsSG_Create_Grids (const CSG_Grid_System &System, const CSG_Table &Attributes, int zAttribute, TSG_Data_Type Type, bool bCreateGrids)
CSG_GridsSG_Create_Grids (int NX, int NY, int NZ, double Cellsize, double xMin, double yMin, double zMin, TSG_Data_Type Type)
CSG_GridsSG_Create_Grids (const CSG_Table &Attributes, int zAttribute)

Macro Definition Documentation

◆ ADD_TO_SPLINE

#define ADD_TO_SPLINE ( i)
Value:
if( i < 0 || i >= Get_NZ() || !m_pGrids[i]->Get_Value(x, y, Value, Resampling) ) { return( false ); } s.Add(Get_Z(i), Value);

Referenced by CSG_Grids::Get_Value().

◆ SG_GRID_HISTOGRAM_CLASSES_DEFAULT

#define SG_GRID_HISTOGRAM_CLASSES_DEFAULT   255

Definition at line 1637 of file grids.cpp.

◆ SORT_SWAP

#define SORT_SWAP ( a,
b )
Value:
{itemp=(a);(a)=(b);(b)=itemp;}

Definition at line 1255 of file grids.cpp.

Function Documentation

◆ SG_Create_Grids() [1/10]

CSG_Grids * SG_Create_Grids ( const char * FileName,
bool bLoadData = true )

Safe construction of a grid collection

Definition at line 97 of file grids.cpp.

References SG_Create_Grids().

◆ SG_Create_Grids() [2/10]

CSG_Grids * SG_Create_Grids ( const CSG_Grid_System & System,
const CSG_Table & Attributes,
int zAttribute = 0,
TSG_Data_Type Type = SG_DATATYPE_Undefined,
bool bCreateGrids = false )

Safe construction of a grid collection

Definition at line 125 of file grids.cpp.

References CSG_Grids::is_Valid().

◆ SG_Create_Grids() [3/10]

CSG_Grids * SG_Create_Grids ( const CSG_Grid_System & System,
int NZ = 0,
double zMin = 0.,
TSG_Data_Type Type = SG_DATATYPE_Undefined )

Safe construction of a grid collection

Definition at line 112 of file grids.cpp.

References CSG_Grids::is_Valid().

◆ SG_Create_Grids() [4/10]

CSG_Grids * SG_Create_Grids ( const CSG_Grids & Grids)

Safe construction of a grid collection

Definition at line 71 of file grids.cpp.

References CSG_Grids::is_Valid().

◆ SG_Create_Grids() [5/10]

CSG_Grids * SG_Create_Grids ( const CSG_Grids * pGrids,
bool bCopyData = false )

Safe construction of a grid collection

Definition at line 84 of file grids.cpp.

References CSG_Grids::is_Valid().

◆ SG_Create_Grids() [6/10]

CSG_Grids * SG_Create_Grids ( const CSG_String & FileName,
bool bLoadData = true )

Safe construction of a grid collection

Definition at line 99 of file grids.cpp.

References CSG_Grids::Create().

◆ SG_Create_Grids() [7/10]

CSG_Grids * SG_Create_Grids ( const CSG_Table & Attributes,
int zAttribute = 0 )

Safe construction of a grid collection

Definition at line 151 of file grids.cpp.

◆ SG_Create_Grids() [8/10]

CSG_Grids * SG_Create_Grids ( const wchar_t * FileName,
bool bLoadData = true )

Safe construction of a grid collection

Definition at line 98 of file grids.cpp.

References SG_Create_Grids().

◆ SG_Create_Grids() [9/10]

CSG_Grids * SG_Create_Grids ( int NX,
int NY,
int NZ = 0,
double Cellsize = 0.,
double xMin = 0.,
double yMin = 0.,
double zMin = 0.,
TSG_Data_Type Type = SG_DATATYPE_Undefined )

Safe construction of a grid collection

Definition at line 138 of file grids.cpp.

References CSG_Grids::is_Valid().

◆ SG_Create_Grids() [10/10]

CSG_Grids * SG_Create_Grids ( void )

Safe construction of a grid collection

Definition at line 65 of file grids.cpp.

Referenced by CSG_Parameters_Grid_Target::Get_Grids(), SG_Create_Grids(), and SG_Create_Grids().