X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Circ2dBuilder.h;h=f83a164413fb7b3d28d7c1ff3d89bd9679c8a0a1;hb=fdd802da7683f66ca609cf12b1e11be9642149d6;hp=c193e877dc8314128d221bfc8d15b219bb021ca6;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Circ2dBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_Circ2dBuilder.h index c193e877d..f83a16441 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Circ2dBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Circ2dBuilder.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -58,6 +58,10 @@ public: GEOMALGOAPI_EXPORT void addTangentCurve(const std::shared_ptr& theEdge); + /// \brief Constrain circle to be orthogonal to the given edge + GEOMALGOAPI_EXPORT + void setTransversalLine(const std::shared_ptr& theEdge); + /// \brief Constrain circle to pass through the given point GEOMALGOAPI_EXPORT void addPassingPoint(const std::shared_ptr& thePoint); @@ -82,6 +86,7 @@ private: std::shared_ptr myCenter; std::vector< std::shared_ptr > myPassingPoints; std::vector< std::shared_ptr > myTangentShapes; + std::shared_ptr myTransversalLine; std::shared_ptr myClosestPoint; double myRadius; };