SAGA API
v9.6
|
Go to the source code of this file.
Functions | |
bool | SG_Shape_Get_Intersection (CSG_Shape *pShape, CSG_Shape_Polygon *pClip, CSG_Shape *pSolution) |
bool | SG_Shape_Get_Difference (CSG_Shape *pShape, CSG_Shape_Polygon *pClip, CSG_Shape *pSolution) |
bool | SG_Shape_Get_ExclusiveOr (CSG_Shape *pShape, CSG_Shape_Polygon *pClip, CSG_Shape *pSolution) |
bool | SG_Shape_Get_Union (CSG_Shape *pShape, CSG_Shape_Polygon *pClip, CSG_Shape *pSolution) |
bool | SG_Shape_Get_Dissolve (CSG_Shape *pShape, CSG_Shape *pSolution) |
bool | SG_Shape_Get_Offset (CSG_Shape *pShape, double Size, double dArc, CSG_Shape *pSolution) |
const char * | SG_Clipper_Get_Version (void) |
const char* SG_Clipper_Get_Version | ( | void | ) |
Definition at line 407 of file shapes_clipper.cpp.
bool SG_Shape_Get_Difference | ( | CSG_Shape * | pShape, |
CSG_Shape_Polygon * | pClip, | ||
CSG_Shape * | pSolution | ||
) |
Definition at line 313 of file shapes_clipper.cpp.
References CSG_Shape::Assign(), INTERSECTION_Contained, INTERSECTION_Contains, INTERSECTION_Identical, INTERSECTION_None, INTERSECTION_Overlaps, and CSG_Shape::Intersects().
Assuming supplied shape object is of type polygon and has several parts, it is important that the point order of outer rings (i.e. not lakes) is clockwise, that of lakes counter-clockwise to be processed correctly by the Clipper dissolve function. This is in accordance with the simple features definition but in contrast to ESRI's Shapefile format.
Definition at line 390 of file shapes_clipper.cpp.
bool SG_Shape_Get_ExclusiveOr | ( | CSG_Shape * | pShape, |
CSG_Shape_Polygon * | pClip, | ||
CSG_Shape * | pSolution | ||
) |
Definition at line 331 of file shapes_clipper.cpp.
References CSG_Shape::Add_Part(), CSG_Shape::Assign(), CSG_Shape_Points::Get_Part(), CSG_Shape_Points::Get_Part_Count(), INTERSECTION_Contained, INTERSECTION_Contains, INTERSECTION_Identical, INTERSECTION_None, INTERSECTION_Overlaps, and CSG_Shape::Intersects().
bool SG_Shape_Get_Intersection | ( | CSG_Shape * | pShape, |
CSG_Shape_Polygon * | pClip, | ||
CSG_Shape * | pSolution | ||
) |
Definition at line 293 of file shapes_clipper.cpp.
References CSG_Shape::Assign(), INTERSECTION_Contained, INTERSECTION_Contains, INTERSECTION_Identical, INTERSECTION_None, INTERSECTION_Overlaps, and CSG_Shape::Intersects().
Definition at line 396 of file shapes_clipper.cpp.
bool SG_Shape_Get_Union | ( | CSG_Shape * | pShape, |
CSG_Shape_Polygon * | pClip, | ||
CSG_Shape * | pSolution | ||
) |
Definition at line 355 of file shapes_clipper.cpp.
References CSG_Shape::Add_Part(), CSG_Shape::Assign(), CSG_Shape_Points::Get_Part(), CSG_Shape_Points::Get_Part_Count(), INTERSECTION_Contained, INTERSECTION_Contains, INTERSECTION_Identical, INTERSECTION_None, INTERSECTION_Overlaps, and CSG_Shape::Intersects().