Open CASCADE Technology  7.5.0
Public Member Functions
ChFi2d_Builder Class Reference

This class contains the algorithm used to build fillet on planar wire. More...

#include <ChFi2d_Builder.hxx>

Public Member Functions

 ChFi2d_Builder ()
 
 ChFi2d_Builder (const TopoDS_Face &F)
 The face <F> can be build on a closed or an open wire. More...
 
void Init (const TopoDS_Face &F)
 
void Init (const TopoDS_Face &RefFace, const TopoDS_Face &ModFace)
 
TopoDS_Edge AddFillet (const TopoDS_Vertex &V, const Standard_Real Radius)
 Add a fillet of radius <Radius> on the wire between the two edges connected to the vertex <V>. <AddFillet> returns the fillet edge. The returned edge has sense only if the status <status> is <IsDone> More...
 
TopoDS_Edge ModifyFillet (const TopoDS_Edge &Fillet, const Standard_Real Radius)
 modify the fillet radius and return the new fillet edge. this edge has sense only if the status <status> is <IsDone>. More...
 
TopoDS_Vertex RemoveFillet (const TopoDS_Edge &Fillet)
 removes the fillet <Fillet> and returns the vertex connecting the two adjacent edges to this fillet. More...
 
TopoDS_Edge AddChamfer (const TopoDS_Edge &E1, const TopoDS_Edge &E2, const Standard_Real D1, const Standard_Real D2)
 Add a chamfer on the wire between the two edges connected <E1> and <E2>. <AddChamfer> returns the chamfer edge. This edge has sense only if the status <status> is <IsDone>. More...
 
TopoDS_Edge AddChamfer (const TopoDS_Edge &E, const TopoDS_Vertex &V, const Standard_Real D, const Standard_Real Ang)
 Add a chamfer on the wire between the two edges connected to the vertex <V>. The chamfer will make an angle <Ang> with the edge <E>, and one of its extremities will be on <E> at distance <D>. The returned edge has sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian. More...
 
TopoDS_Edge ModifyChamfer (const TopoDS_Edge &Chamfer, const TopoDS_Edge &E1, const TopoDS_Edge &E2, const Standard_Real D1, const Standard_Real D2)
 modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>. More...
 
TopoDS_Edge ModifyChamfer (const TopoDS_Edge &Chamfer, const TopoDS_Edge &E, const Standard_Real D, const Standard_Real Ang)
 modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian. More...
 
TopoDS_Vertex RemoveChamfer (const TopoDS_Edge &Chamfer)
 removes the chamfer <Chamfer> and returns the vertex connecting the two adjacent edges to this chamfer. More...
 
TopoDS_Face Result () const
 returns the modified face More...
 
Standard_Boolean IsModified (const TopoDS_Edge &E) const
 
const TopTools_SequenceOfShapeFilletEdges () const
 returns the list of new edges More...
 
Standard_Integer NbFillet () const
 
const TopTools_SequenceOfShapeChamferEdges () const
 returns the list of new edges More...
 
Standard_Integer NbChamfer () const
 
Standard_Boolean HasDescendant (const TopoDS_Edge &E) const
 
const TopoDS_EdgeDescendantEdge (const TopoDS_Edge &E) const
 returns the modified edge if <E> has descendant or <E> in the other case. More...
 
const TopoDS_EdgeBasisEdge (const TopoDS_Edge &E) const
 Returns the parent edge of <E> Warning: If <E>is a basis edge, the returned edge would be equal to <E> More...
 
ChFi2d_ConstructionError Status () const
 

Detailed Description

This class contains the algorithm used to build fillet on planar wire.

Constructor & Destructor Documentation

◆ ChFi2d_Builder() [1/2]

ChFi2d_Builder::ChFi2d_Builder ( )

◆ ChFi2d_Builder() [2/2]

ChFi2d_Builder::ChFi2d_Builder ( const TopoDS_Face F)

The face <F> can be build on a closed or an open wire.

Member Function Documentation

◆ AddChamfer() [1/2]

TopoDS_Edge ChFi2d_Builder::AddChamfer ( const TopoDS_Edge E1,
const TopoDS_Edge E2,
const Standard_Real  D1,
const Standard_Real  D2 
)

Add a chamfer on the wire between the two edges connected <E1> and <E2>. <AddChamfer> returns the chamfer edge. This edge has sense only if the status <status> is <IsDone>.

◆ AddChamfer() [2/2]

TopoDS_Edge ChFi2d_Builder::AddChamfer ( const TopoDS_Edge E,
const TopoDS_Vertex V,
const Standard_Real  D,
const Standard_Real  Ang 
)

Add a chamfer on the wire between the two edges connected to the vertex <V>. The chamfer will make an angle <Ang> with the edge <E>, and one of its extremities will be on <E> at distance <D>. The returned edge has sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian.

◆ AddFillet()

TopoDS_Edge ChFi2d_Builder::AddFillet ( const TopoDS_Vertex V,
const Standard_Real  Radius 
)

Add a fillet of radius <Radius> on the wire between the two edges connected to the vertex <V>. <AddFillet> returns the fillet edge. The returned edge has sense only if the status <status> is <IsDone>

◆ BasisEdge()

const TopoDS_Edge& ChFi2d_Builder::BasisEdge ( const TopoDS_Edge E) const

Returns the parent edge of <E> Warning: If <E>is a basis edge, the returned edge would be equal to <E>

◆ ChamferEdges()

const TopTools_SequenceOfShape& ChFi2d_Builder::ChamferEdges ( ) const

returns the list of new edges

◆ DescendantEdge()

const TopoDS_Edge& ChFi2d_Builder::DescendantEdge ( const TopoDS_Edge E) const

returns the modified edge if <E> has descendant or <E> in the other case.

◆ FilletEdges()

const TopTools_SequenceOfShape& ChFi2d_Builder::FilletEdges ( ) const

returns the list of new edges

◆ HasDescendant()

Standard_Boolean ChFi2d_Builder::HasDescendant ( const TopoDS_Edge E) const

◆ Init() [1/2]

void ChFi2d_Builder::Init ( const TopoDS_Face F)

◆ Init() [2/2]

void ChFi2d_Builder::Init ( const TopoDS_Face RefFace,
const TopoDS_Face ModFace 
)

◆ IsModified()

Standard_Boolean ChFi2d_Builder::IsModified ( const TopoDS_Edge E) const

◆ ModifyChamfer() [1/2]

TopoDS_Edge ChFi2d_Builder::ModifyChamfer ( const TopoDS_Edge Chamfer,
const TopoDS_Edge E1,
const TopoDS_Edge E2,
const Standard_Real  D1,
const Standard_Real  D2 
)

modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>.

◆ ModifyChamfer() [2/2]

TopoDS_Edge ChFi2d_Builder::ModifyChamfer ( const TopoDS_Edge Chamfer,
const TopoDS_Edge E,
const Standard_Real  D,
const Standard_Real  Ang 
)

modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian.

◆ ModifyFillet()

TopoDS_Edge ChFi2d_Builder::ModifyFillet ( const TopoDS_Edge Fillet,
const Standard_Real  Radius 
)

modify the fillet radius and return the new fillet edge. this edge has sense only if the status <status> is <IsDone>.

◆ NbChamfer()

Standard_Integer ChFi2d_Builder::NbChamfer ( ) const

◆ NbFillet()

Standard_Integer ChFi2d_Builder::NbFillet ( ) const

◆ RemoveChamfer()

TopoDS_Vertex ChFi2d_Builder::RemoveChamfer ( const TopoDS_Edge Chamfer)

removes the chamfer <Chamfer> and returns the vertex connecting the two adjacent edges to this chamfer.

◆ RemoveFillet()

TopoDS_Vertex ChFi2d_Builder::RemoveFillet ( const TopoDS_Edge Fillet)

removes the fillet <Fillet> and returns the vertex connecting the two adjacent edges to this fillet.

◆ Result()

TopoDS_Face ChFi2d_Builder::Result ( ) const

returns the modified face

◆ Status()

ChFi2d_ConstructionError ChFi2d_Builder::Status ( ) const

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