Open CASCADE Technology
7.6.0
|
An analytical algorithm for calculation of the fillets. It is implemented for segments and arcs of circle only. More...
#include <ChFi2d_AnaFilletAlgo.hxx>
Public Member Functions | |
ChFi2d_AnaFilletAlgo () | |
An empty constructor. Use the method Init() to initialize the class. More... | |
ChFi2d_AnaFilletAlgo (const TopoDS_Wire &theWire, const gp_Pln &thePlane) | |
A constructor. It expects a wire consisting of two edges of type (any combination of): More... | |
ChFi2d_AnaFilletAlgo (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2, const gp_Pln &thePlane) | |
A constructor. It expects two edges having a common point of type: More... | |
void | Init (const TopoDS_Wire &theWire, const gp_Pln &thePlane) |
Initializes the class by a wire consisting of two edges. More... | |
void | Init (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2, const gp_Pln &thePlane) |
Initializes the class by two edges. More... | |
Standard_Boolean | Perform (const Standard_Real radius) |
Calculates a fillet. More... | |
const TopoDS_Edge & | Result (TopoDS_Edge &e1, TopoDS_Edge &e2) |
Retrieves a result (fillet and shrinked neighbours). More... | |
An analytical algorithm for calculation of the fillets. It is implemented for segments and arcs of circle only.
ChFi2d_AnaFilletAlgo::ChFi2d_AnaFilletAlgo | ( | ) |
An empty constructor. Use the method Init() to initialize the class.
ChFi2d_AnaFilletAlgo::ChFi2d_AnaFilletAlgo | ( | const TopoDS_Wire & | theWire, |
const gp_Pln & | thePlane | ||
) |
A constructor. It expects a wire consisting of two edges of type (any combination of):
ChFi2d_AnaFilletAlgo::ChFi2d_AnaFilletAlgo | ( | const TopoDS_Edge & | theEdge1, |
const TopoDS_Edge & | theEdge2, | ||
const gp_Pln & | thePlane | ||
) |
A constructor. It expects two edges having a common point of type:
void ChFi2d_AnaFilletAlgo::Init | ( | const TopoDS_Edge & | theEdge1, |
const TopoDS_Edge & | theEdge2, | ||
const gp_Pln & | thePlane | ||
) |
Initializes the class by two edges.
void ChFi2d_AnaFilletAlgo::Init | ( | const TopoDS_Wire & | theWire, |
const gp_Pln & | thePlane | ||
) |
Initializes the class by a wire consisting of two edges.
Standard_Boolean ChFi2d_AnaFilletAlgo::Perform | ( | const Standard_Real | radius | ) |
Calculates a fillet.
const TopoDS_Edge& ChFi2d_AnaFilletAlgo::Result | ( | TopoDS_Edge & | e1, |
TopoDS_Edge & | e2 | ||
) |
Retrieves a result (fillet and shrinked neighbours).