Open CASCADE Technology  7.6.0
Public Member Functions

ChFi2d_AnaFilletAlgo Class Reference

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_EdgeResult (TopoDS_Edge &e1, TopoDS_Edge &e2)
 Retrieves a result (fillet and shrinked neighbours). More...
 

Detailed Description

An analytical algorithm for calculation of the fillets. It is implemented for segments and arcs of circle only.

Constructor & Destructor Documentation

◆ ChFi2d_AnaFilletAlgo() [1/3]

ChFi2d_AnaFilletAlgo::ChFi2d_AnaFilletAlgo ( )

An empty constructor. Use the method Init() to initialize the class.

◆ ChFi2d_AnaFilletAlgo() [2/3]

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):

  • segment
  • arc of circle.

◆ ChFi2d_AnaFilletAlgo() [3/3]

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:

  • segment
  • arc of circle.

Member Function Documentation

◆ Init() [1/2]

void ChFi2d_AnaFilletAlgo::Init ( const TopoDS_Edge theEdge1,
const TopoDS_Edge theEdge2,
const gp_Pln thePlane 
)

Initializes the class by two edges.

◆ Init() [2/2]

void ChFi2d_AnaFilletAlgo::Init ( const TopoDS_Wire theWire,
const gp_Pln thePlane 
)

Initializes the class by a wire consisting of two edges.

◆ Perform()

Standard_Boolean ChFi2d_AnaFilletAlgo::Perform ( const Standard_Real  radius)

Calculates a fillet.

◆ Result()

const TopoDS_Edge& ChFi2d_AnaFilletAlgo::Result ( TopoDS_Edge e1,
TopoDS_Edge e2 
)

Retrieves a result (fillet and shrinked neighbours).


The documentation for this class was generated from the following file: