48 const css::drawing::PolyPolygonShape3D& rPolygon
49 , const ::basegfx::B2DRectangle& rRectangle
50 , css::drawing::PolyPolygonShape3D& aResult
51 ,
bool bSplitPiecesToDifferentPolygons =
true );
53 const std::vector<std::vector<css::drawing::Position3D>>& rPolygon
54 , const ::basegfx::B2DRectangle& rRectangle
55 , std::vector<std::vector<css::drawing::Position3D>>& aResult
56 ,
bool bSplitPiecesToDifferentPolygons =
true );
static void clipPolygonAtRectangle(const css::drawing::PolyPolygonShape3D &rPolygon, const ::basegfx::B2DRectangle &rRectangle, css::drawing::PolyPolygonShape3D &aResult, bool bSplitPiecesToDifferentPolygons=true)
This class uses the Liang-Biarsky parametric line-clipping algorithm as described in: Computer Graphi...
static void clipPolygonAtRectangle(const std::vector< std::vector< css::drawing::Position3D > > &rPolygon, const ::basegfx::B2DRectangle &rRectangle, std::vector< std::vector< css::drawing::Position3D > > &aResult, bool bSplitPiecesToDifferentPolygons=true)