Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
ChFi2d_Builder Class Reference

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

#include <ChFi2d_Builder.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC ChFi2d_Builder ()
 ChFi2d_Builder (const TopoDS_Face &F)
 The face <F> can be build on a closed or an open
wire.

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>

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>.

TopoDS_Vertex RemoveFillet (const TopoDS_Edge &Fillet)
 removes the fillet <Fillet> and returns the vertex
connecting the two adjacent edges to this fillet.

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>.

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.

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>.

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.

TopoDS_Vertex RemoveChamfer (const TopoDS_Edge &Chamfer)
 removes the chamfer <Chamfer> and returns the
vertex connecting the two adjacent edges to this
chamfer.

TopoDS_Face Result () const
 returns the modified face

Standard_Boolean IsModified (const TopoDS_Edge &E) const
const TopTools_SequenceOfShapeFilletEdges () const
 returns the list of new edges

Standard_Integer NbFillet () const
const TopTools_SequenceOfShapeChamferEdges () const
 returns the list of new edges

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.

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>

ChFi2d_ConstructionError Status () const

Constructor & Destructor Documentation


Member Function Documentation

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

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