SAGA API v2.0.8
H:/saga/saga_svn/saga-gis/src/saga_core/saga_api/shapes_polygons.cpp File Reference
#include "shapes.h"
#include "clipper.hpp"

Go to the source code of this file.

Functions

bool _SG_Polygon_Clip (ClipperLib::ClipType ClipType, CSG_Shape *pPolygon, CSG_Shape *pClip, CSG_Shape *pResult)
bool SG_Polygon_Intersection (CSG_Shape *pPolygon, CSG_Shape *pClip, CSG_Shape *pResult)
bool SG_Polygon_Difference (CSG_Shape *pPolygon, CSG_Shape *pClip, CSG_Shape *pResult)
bool SG_Polygon_ExclusiveOr (CSG_Shape *pPolygon, CSG_Shape *pClip, CSG_Shape *pResult)
bool SG_Polygon_Union (CSG_Shape *pPolygon, CSG_Shape *pClip, CSG_Shape *pResult)
bool SG_Polygon_Dissolve (CSG_Shape *pPolygon, CSG_Shape *pResult)

Function Documentation

bool _SG_Polygon_Clip ( ClipperLib::ClipType  ClipType,
CSG_Shape pPolygon,
CSG_Shape pClip,
CSG_Shape pResult 
)
bool SG_Polygon_Difference ( CSG_Shape pPolygon,
CSG_Shape pClip,
CSG_Shape pResult 
)

Definition at line 282 of file shapes_polygons.cpp.

References _SG_Polygon_Clip().

bool SG_Polygon_Dissolve ( CSG_Shape pPolygon,
CSG_Shape pResult 
)

Definition at line 300 of file shapes_polygons.cpp.

References CSG_Shape::Get_Extent().

bool SG_Polygon_ExclusiveOr ( CSG_Shape pPolygon,
CSG_Shape pClip,
CSG_Shape pResult 
)

Definition at line 288 of file shapes_polygons.cpp.

References _SG_Polygon_Clip().

bool SG_Polygon_Intersection ( CSG_Shape pPolygon,
CSG_Shape pClip,
CSG_Shape pResult 
)

Definition at line 276 of file shapes_polygons.cpp.

References _SG_Polygon_Clip().

bool SG_Polygon_Union ( CSG_Shape pPolygon,
CSG_Shape pClip,
CSG_Shape pResult 
)

Definition at line 294 of file shapes_polygons.cpp.

References _SG_Polygon_Clip().