SHAPER
9.12.0
|
Creates circle in 2D space satisfying combination of the following constraints: More...
Public Member Functions | |
GEOMALGOAPI_EXPORT | GeomAlgoAPI_Circ2dBuilder (const std::shared_ptr< GeomAPI_Ax3 > &thePlane) |
Create a builder object. More... | |
GEOMALGOAPI_EXPORT void | setRadius (const double theRadius) |
Set fixed radius of the circle. More... | |
GEOMALGOAPI_EXPORT void | setCenter (const std::shared_ptr< GeomAPI_Pnt2d > &theCenter) |
Set fixed center of the circle. More... | |
GEOMALGOAPI_EXPORT void | addTangentCurve (const std::shared_ptr< GeomAPI_Shape > &theEdge) |
Constrain circle to be tangent to the given edge. More... | |
GEOMALGOAPI_EXPORT void | setTransversalLine (const std::shared_ptr< GeomAPI_Shape > &theEdge) |
Constrain circle to be orthogonal to the given edge. More... | |
GEOMALGOAPI_EXPORT void | addPassingPoint (const std::shared_ptr< GeomAPI_Pnt2d > &thePoint) |
Constrain circle to pass through the given point. More... | |
GEOMALGOAPI_EXPORT void | setClosestPoint (const std::shared_ptr< GeomAPI_Pnt2d > &thePoint) |
Optional constraint to find circle closest to the given point. More... | |
GEOMALGOAPI_EXPORT std::shared_ptr< GeomAPI_Circ2d > | circle () |
Build circle. More... | |
Static Public Member Functions | |
static GEOMALGOAPI_EXPORT std::shared_ptr< GeomAPI_Circ2d > | circle (const std::shared_ptr< GeomAPI_Pnt2d > &theFirstPoint, const std::shared_ptr< GeomAPI_Pnt2d > &theSecondPoint, const std::shared_ptr< GeomAPI_Pnt2d > &theThirdPoint) |
Create a circle passing through three points. More... | |
Creates circle in 2D space satisfying combination of the following constraints:
GeomAlgoAPI_Circ2dBuilder::GeomAlgoAPI_Circ2dBuilder | ( | const std::shared_ptr< GeomAPI_Ax3 > & | thePlane | ) |
Create a builder object.
Constraints should be applied separately.
thePlane | [in] plane to project tangent curves |
void GeomAlgoAPI_Circ2dBuilder::setRadius | ( | const double | theRadius | ) |
Set fixed radius of the circle.
void GeomAlgoAPI_Circ2dBuilder::setCenter | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theCenter | ) |
Set fixed center of the circle.
void GeomAlgoAPI_Circ2dBuilder::addTangentCurve | ( | const std::shared_ptr< GeomAPI_Shape > & | theEdge | ) |
Constrain circle to be tangent to the given edge.
void GeomAlgoAPI_Circ2dBuilder::setTransversalLine | ( | const std::shared_ptr< GeomAPI_Shape > & | theEdge | ) |
Constrain circle to be orthogonal to the given edge.
void GeomAlgoAPI_Circ2dBuilder::addPassingPoint | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint | ) |
Constrain circle to pass through the given point.
void GeomAlgoAPI_Circ2dBuilder::setClosestPoint | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint | ) |
Optional constraint to find circle closest to the given point.
std::shared_ptr< GeomAPI_Circ2d > GeomAlgoAPI_Circ2dBuilder::circle | ( | ) |
Build circle.
|
static |
Create a circle passing through three points.