std::shared_ptr<GeomAPI_Pnt> thePoint) throw (GeomAlgoAPI_Exception)
{
GeomAlgoAPI_Symmetry aSymmetryAlgo(theSourceShape, thePoint);
-
+
if (!aSymmetryAlgo.check()) {
throw GeomAlgoAPI_Exception(aSymmetryAlgo.getError());
}
std::shared_ptr<GeomAPI_Ax1> theAxis) throw (GeomAlgoAPI_Exception)
{
GeomAlgoAPI_Symmetry aSymmetryAlgo(theSourceShape, theAxis);
-
+
if (!aSymmetryAlgo.check()) {
throw GeomAlgoAPI_Exception(aSymmetryAlgo.getError());
}
std::shared_ptr<GeomAPI_Ax2> thePlane) throw (GeomAlgoAPI_Exception)
{
GeomAlgoAPI_Symmetry aSymmetryAlgo(theSourceShape, thePlane);
-
+
if (!aSymmetryAlgo.check()) {
throw GeomAlgoAPI_Exception(aSymmetryAlgo.getError());
}
std::shared_ptr<GeomAPI_Shape> theSourceShape,
std::shared_ptr<GeomAPI_Pnt> theStartPoint,
std::shared_ptr<GeomAPI_Pnt> theEndPoint) throw (GeomAlgoAPI_Exception);
-
+
/// Performs a symmetry by a point
static std::shared_ptr<GeomAPI_Shape> makeSymmetry(
std::shared_ptr<GeomAPI_Shape> theSourceShape,