SAGA API
v9.6
|
#include <geo_tools.h>
Additional Inherited Members | |
Public Attributes inherited from SSG_Rect_Int | |
int | xMin |
int | yMin |
int | xMax |
int | yMax |
Definition at line 587 of file geo_tools.h.
CSG_Rect_Int::CSG_Rect_Int | ( | void | ) |
Definition at line 1029 of file geo_classes.cpp.
References Create().
CSG_Rect_Int::CSG_Rect_Int | ( | const CSG_Rect_Int & | Rect | ) |
Definition at line 1034 of file geo_classes.cpp.
References Create(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
CSG_Rect_Int::CSG_Rect_Int | ( | const TSG_Rect_Int & | Rect | ) |
Definition at line 1039 of file geo_classes.cpp.
References Create(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
CSG_Rect_Int::CSG_Rect_Int | ( | const TSG_Point_Int & | A, |
const TSG_Point_Int & | B | ||
) |
Definition at line 1044 of file geo_classes.cpp.
CSG_Rect_Int::CSG_Rect_Int | ( | int | xMin, |
int | yMin, | ||
int | xMax, | ||
int | yMax | ||
) |
Definition at line 1049 of file geo_classes.cpp.
References Create(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
CSG_Rect_Int::~CSG_Rect_Int | ( | void | ) |
Definition at line 1055 of file geo_classes.cpp.
CSG_Rect_Int & CSG_Rect_Int::Assign | ( | const CSG_Rect_Int & | Rect | ) |
Definition at line 1103 of file geo_classes.cpp.
References Assign(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
CSG_Rect_Int & CSG_Rect_Int::Assign | ( | const TSG_Point_Int & | A, |
const TSG_Point_Int & | B | ||
) |
Definition at line 1098 of file geo_classes.cpp.
CSG_Rect_Int & CSG_Rect_Int::Assign | ( | int | xMin, |
int | yMin, | ||
int | xMax, | ||
int | yMax | ||
) |
Definition at line 1093 of file geo_classes.cpp.
References Create(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
Referenced by Assign(), Inflate(), Set_BottomLeft(), and Set_TopRight().
bool CSG_Rect_Int::Contains | ( | const TSG_Point_Int & | Point | ) | const |
Definition at line 1243 of file geo_classes.cpp.
References Contains(), SSG_Point_Int::x, and SSG_Point_Int::y.
bool CSG_Rect_Int::Contains | ( | double | x, |
double | y | ||
) | const |
Definition at line 1238 of file geo_classes.cpp.
References SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
Referenced by Contains(), and Intersects().
bool CSG_Rect_Int::Create | ( | const CSG_Rect_Int & | Rect | ) |
Definition at line 1082 of file geo_classes.cpp.
References Create(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
bool CSG_Rect_Int::Create | ( | const TSG_Point_Int & | A, |
const TSG_Point_Int & | B | ||
) |
Definition at line 1076 of file geo_classes.cpp.
bool CSG_Rect_Int::Create | ( | int | xMin, |
int | yMin, | ||
int | xMax, | ||
int | yMax | ||
) |
Definition at line 1064 of file geo_classes.cpp.
References SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
Referenced by Assign(), Create(), and CSG_Rect_Int().
CSG_Rect_Int & CSG_Rect_Int::Deflate | ( | int | d | ) |
Definition at line 1159 of file geo_classes.cpp.
CSG_Rect_Int & CSG_Rect_Int::Deflate | ( | int | dx, |
int | dy | ||
) |
Definition at line 1154 of file geo_classes.cpp.
References Inflate().
|
inline |
Definition at line 627 of file geo_tools.h.
|
inline |
Definition at line 631 of file geo_tools.h.
References SSG_Point_Int::x, SSG_Rect_Int::xMax, SSG_Point_Int::y, and SSG_Rect_Int::yMin.
|
inline |
Definition at line 628 of file geo_tools.h.
References SSG_Rect_Int::yMin.
|
inline |
Definition at line 630 of file geo_tools.h.
References SSG_Point_Int::x, SSG_Rect_Int::xMin, SSG_Point_Int::y, and SSG_Rect_Int::yMax.
|
inline |
Definition at line 620 of file geo_tools.h.
Referenced by Intersect(), Intersects(), and Union().
|
inline |
Definition at line 619 of file geo_tools.h.
Referenced by Intersect(), Intersects(), and Union().
|
inline |
Definition at line 624 of file geo_tools.h.
|
inline |
Definition at line 622 of file geo_tools.h.
Referenced by Intersect(), Intersects(), and Union().
|
inline |
Definition at line 621 of file geo_tools.h.
Referenced by Intersect(), Intersects(), and Union().
|
inline |
Definition at line 625 of file geo_tools.h.
CSG_Rect_Int & CSG_Rect_Int::Inflate | ( | int | d | ) |
Definition at line 1149 of file geo_classes.cpp.
Referenced by Deflate().
CSG_Rect_Int & CSG_Rect_Int::Inflate | ( | int | dx, |
int | dy | ||
) |
Definition at line 1144 of file geo_classes.cpp.
References Assign(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
bool CSG_Rect_Int::Intersect | ( | const CSG_Rect_Int & | Rect | ) |
Definition at line 1194 of file geo_classes.cpp.
References Get_XMax(), Get_XMin(), Get_YMax(), Get_YMin(), INTERSECTION_Contained, INTERSECTION_Contains, INTERSECTION_Identical, INTERSECTION_None, INTERSECTION_Overlaps, Intersects(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
TSG_Intersection CSG_Rect_Int::Intersects | ( | const CSG_Rect_Int & | Rect | ) | const |
Definition at line 1249 of file geo_classes.cpp.
References Contains(), Get_XMax(), Get_XMin(), Get_YMax(), Get_YMin(), INTERSECTION_Contained, INTERSECTION_Contains, INTERSECTION_Identical, INTERSECTION_None, INTERSECTION_Overlaps, is_Equal(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
Referenced by Intersect().
bool CSG_Rect_Int::is_Equal | ( | const CSG_Rect_Int & | Rect | ) | const |
Definition at line 1232 of file geo_classes.cpp.
References is_Equal(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
bool CSG_Rect_Int::is_Equal | ( | int | xMin, |
int | yMin, | ||
int | xMax, | ||
int | yMax | ||
) | const |
Definition at line 1226 of file geo_classes.cpp.
References SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
Referenced by Intersects(), and is_Equal().
CSG_Rect_Int & CSG_Rect_Int::Move | ( | const TSG_Point_Int & | Point | ) |
Definition at line 1138 of file geo_classes.cpp.
References Move(), SSG_Point_Int::x, and SSG_Point_Int::y.
CSG_Rect_Int & CSG_Rect_Int::Move | ( | int | dx, |
int | dy | ||
) |
Definition at line 1130 of file geo_classes.cpp.
References SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
Referenced by Move().
|
inline |
Definition at line 603 of file geo_tools.h.
|
inline |
Definition at line 607 of file geo_tools.h.
References SSG_Point_Int::x, and SSG_Point_Int::y.
|
inline |
Definition at line 608 of file geo_tools.h.
References SSG_Point_Int::x, and SSG_Point_Int::y.
|
inline |
Definition at line 605 of file geo_tools.h.
|
inline |
Definition at line 602 of file geo_tools.h.
CSG_Rect_Int & CSG_Rect_Int::Set_BottomLeft | ( | const TSG_Point_Int & | Point | ) |
Definition at line 1114 of file geo_classes.cpp.
References Set_BottomLeft(), SSG_Point_Int::x, and SSG_Point_Int::y.
CSG_Rect_Int & CSG_Rect_Int::Set_BottomLeft | ( | int | x, |
int | y | ||
) |
Definition at line 1109 of file geo_classes.cpp.
References Assign(), SSG_Rect_Int::xMax, and SSG_Rect_Int::yMax.
Referenced by Set_BottomLeft().
CSG_Rect_Int & CSG_Rect_Int::Set_TopRight | ( | const TSG_Point_Int & | Point | ) |
Definition at line 1124 of file geo_classes.cpp.
References Set_TopRight(), SSG_Point_Int::x, and SSG_Point_Int::y.
CSG_Rect_Int & CSG_Rect_Int::Set_TopRight | ( | int | x, |
int | y | ||
) |
Definition at line 1119 of file geo_classes.cpp.
References Assign(), SSG_Rect_Int::xMin, and SSG_Rect_Int::yMin.
Referenced by Set_TopRight().
CSG_Rect_Int & CSG_Rect_Int::Union | ( | const CSG_Rect_Int & | Rect | ) |
Definition at line 1183 of file geo_classes.cpp.
References Get_XMax(), Get_XMin(), Get_YMax(), Get_YMin(), SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
CSG_Rect_Int & CSG_Rect_Int::Union | ( | const TSG_Point_Int & | Point | ) |
Definition at line 1174 of file geo_classes.cpp.
References SSG_Point_Int::x, SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Point_Int::y, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.
CSG_Rect_Int & CSG_Rect_Int::Union | ( | int | x, |
int | y | ||
) |
Definition at line 1165 of file geo_classes.cpp.
References SSG_Rect_Int::xMax, SSG_Rect_Int::xMin, SSG_Rect_Int::yMax, and SSG_Rect_Int::yMin.