Open CASCADE Technology  7.6.0
Public Member Functions

ChFi2d_ChamferAPI Class Reference

A class making a chamfer between two linear edges. More...

#include <ChFi2d_ChamferAPI.hxx>

Public Member Functions

 ChFi2d_ChamferAPI ()
 An empty constructor. More...
 
 ChFi2d_ChamferAPI (const TopoDS_Wire &theWire)
 A constructor accepting a wire consisting of two linear edges. More...
 
 ChFi2d_ChamferAPI (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2)
 A constructor accepting two linear edges. More...
 
void Init (const TopoDS_Wire &theWire)
 Initializes the class by a wire consisting of two libear edges. More...
 
void Init (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2)
 Initializes the class by two linear edges. More...
 
Standard_Boolean Perform ()
 Constructs a chamfer edge. Returns true if the edge is constructed. More...
 
TopoDS_Edge Result (TopoDS_Edge &theEdge1, TopoDS_Edge &theEdge2, const Standard_Real theLength1, const Standard_Real theLength2)
 

Detailed Description

A class making a chamfer between two linear edges.

Constructor & Destructor Documentation

◆ ChFi2d_ChamferAPI() [1/3]

ChFi2d_ChamferAPI::ChFi2d_ChamferAPI ( )

An empty constructor.

◆ ChFi2d_ChamferAPI() [2/3]

ChFi2d_ChamferAPI::ChFi2d_ChamferAPI ( const TopoDS_Wire theWire)

A constructor accepting a wire consisting of two linear edges.

◆ ChFi2d_ChamferAPI() [3/3]

ChFi2d_ChamferAPI::ChFi2d_ChamferAPI ( const TopoDS_Edge theEdge1,
const TopoDS_Edge theEdge2 
)

A constructor accepting two linear edges.

Member Function Documentation

◆ Init() [1/2]

void ChFi2d_ChamferAPI::Init ( const TopoDS_Edge theEdge1,
const TopoDS_Edge theEdge2 
)

Initializes the class by two linear edges.

◆ Init() [2/2]

void ChFi2d_ChamferAPI::Init ( const TopoDS_Wire theWire)

Initializes the class by a wire consisting of two libear edges.

◆ Perform()

Standard_Boolean ChFi2d_ChamferAPI::Perform ( )

Constructs a chamfer edge. Returns true if the edge is constructed.

◆ Result()

TopoDS_Edge ChFi2d_ChamferAPI::Result ( TopoDS_Edge theEdge1,
TopoDS_Edge theEdge2,
const Standard_Real  theLength1,
const Standard_Real  theLength2 
)

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