SAGA API  v9.6
CSG_Rects Class Reference

#include <geo_tools.h>

Public Member Functions

 CSG_Rects (void)
 
 CSG_Rects (const CSG_Rects &Rects)
 
virtual ~CSG_Rects (void)
 
void Clear (void)
 
CSG_Rectsoperator= (const CSG_Rects &Rects)
 
bool Assign (const CSG_Rects &Rects)
 
bool Add (void)
 
bool Add (double xMin, double yMin, double xMax, double yMax)
 
bool Add (const CSG_Rect &Rect)
 
int Get_Count (void) const
 
CSG_Rectoperator[] (int Index)
 
CSG_RectGet_Rect (int Index)
 

Detailed Description

Definition at line 544 of file geo_tools.h.

Constructor & Destructor Documentation

◆ CSG_Rects() [1/2]

CSG_Rects::CSG_Rects ( void  )

Definition at line 942 of file geo_classes.cpp.

◆ CSG_Rects() [2/2]

CSG_Rects::CSG_Rects ( const CSG_Rects Rects)

Definition at line 948 of file geo_classes.cpp.

References Assign().

◆ ~CSG_Rects()

CSG_Rects::~CSG_Rects ( void  )
virtual

Definition at line 956 of file geo_classes.cpp.

References Clear().

Member Function Documentation

◆ Add() [1/3]

bool CSG_Rects::Add ( const CSG_Rect Rect)

Definition at line 1012 of file geo_classes.cpp.

References SG_Realloc().

◆ Add() [2/3]

bool CSG_Rects::Add ( double  xMin,
double  yMin,
double  xMax,
double  yMax 
)

Definition at line 1006 of file geo_classes.cpp.

References Add().

◆ Add() [3/3]

bool CSG_Rects::Add ( void  )

Definition at line 1000 of file geo_classes.cpp.

Referenced by Add(), and Assign().

◆ Assign()

bool CSG_Rects::Assign ( const CSG_Rects Rects)

Definition at line 979 of file geo_classes.cpp.

References Add(), and Clear().

Referenced by CSG_Rects(), and operator=().

◆ Clear()

void CSG_Rects::Clear ( void  )

Definition at line 962 of file geo_classes.cpp.

References SG_Free().

Referenced by Assign(), and ~CSG_Rects().

◆ Get_Count()

int CSG_Rects::Get_Count ( void  ) const
inline

Definition at line 560 of file geo_tools.h.

◆ Get_Rect()

CSG_Rect& CSG_Rects::Get_Rect ( int  Index)
inline

Definition at line 563 of file geo_tools.h.

◆ operator=()

CSG_Rects & CSG_Rects::operator= ( const CSG_Rects Rects)

Definition at line 992 of file geo_classes.cpp.

References Assign().

◆ operator[]()

CSG_Rect& CSG_Rects::operator[] ( int  Index)
inline

Definition at line 562 of file geo_tools.h.


The documentation for this class was generated from the following files: