OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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.
    void Init (const TopoDS_Face &F)
    void Init (const TopoDS_Face &RefFace, const TopoDS_Face &ModFace)
    TopoDS_Edge AddFillet (const TopoDS_Vertex &V, const double 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 double 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 double D1, const double 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 double D, const double 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 double D1, const double 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 double D, const double 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
    bool IsModified (const TopoDS_Edge &E) const
    const NCollection_Sequence< TopoDS_Shape > & FilletEdges () const
     returns the list of new edges
    int NbFillet () const
    const NCollection_Sequence< TopoDS_Shape > & ChamferEdges () const
     returns the list of new edges
    int NbChamfer () const
    bool HasDescendant (const TopoDS_Edge &E) const
    const TopoDS_Edge & DescendantEdge (const TopoDS_Edge &E) const
     returns the modified edge if <E> has descendant or <E> in the other case.
    const TopoDS_Edge & 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>.
    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 & E,
    const TopoDS_Vertex & V,
    const double D,
    const double 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.

    ◆ AddChamfer() [2/2]

    TopoDS_Edge ChFi2d_Builder::AddChamfer ( const TopoDS_Edge & E1,
    const TopoDS_Edge & E2,
    const double D1,
    const double 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>.

    ◆ AddFillet()

    TopoDS_Edge ChFi2d_Builder::AddFillet ( const TopoDS_Vertex & V,
    const double 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 NCollection_Sequence< TopoDS_Shape > & 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 NCollection_Sequence< TopoDS_Shape > & ChFi2d_Builder::FilletEdges ( ) const

    returns the list of new edges

    ◆ HasDescendant()

    bool 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()

    bool ChFi2d_Builder::IsModified ( const TopoDS_Edge & E) const

    ◆ ModifyChamfer() [1/2]

    TopoDS_Edge ChFi2d_Builder::ModifyChamfer ( const TopoDS_Edge & Chamfer,
    const TopoDS_Edge & E,
    const double D,
    const double 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.

    ◆ ModifyChamfer() [2/2]

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

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

    ◆ ModifyFillet()

    TopoDS_Edge ChFi2d_Builder::ModifyFillet ( const TopoDS_Edge & Fillet,
    const double Radius )

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

    ◆ NbChamfer()

    int ChFi2d_Builder::NbChamfer ( ) const

    ◆ NbFillet()

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