OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BiTgte_Blend Class Reference

    Root class. More...

    #include <BiTgte_Blend.hxx>

    Public Member Functions

     BiTgte_Blend ()
     BiTgte_Blend (const TopoDS_Shape &S, const double Radius, const double Tol, const bool NUBS)
     : Shape to be rounded <Radius>: radius of the fillet <Tol>: Tol3d used in approximations <NUBS>: if true, generate only NUBS surfaces, if false, generate analytical surfaces if possible
    void Init (const TopoDS_Shape &S, const double Radius, const double Tol, const bool NUBS)
    void Clear ()
     Clear all the Fields.
    void SetFaces (const TopoDS_Face &F1, const TopoDS_Face &F2)
     Set two faces of <myShape> on which the Sphere must roll.
    void SetEdge (const TopoDS_Edge &Edge)
     Set an edge of <myShape> to be rounded.
    void SetStoppingFace (const TopoDS_Face &Face)
     Set a face on which the fillet must stop.
    void Perform (const bool BuildShape=true)
     Compute the generated surfaces. If <BuildShape> is true, compute the resulting Shape. If false, only the blending surfaces are computed.
    bool IsDone () const
    const TopoDS_ShapeShape () const
     returns the result
    int NbSurfaces () const
     returns the Number of generated surfaces.
    occ::handle< Geom_SurfaceSurface (const int Index) const
     returns the surface of range Index
    const TopoDS_FaceFace (const int Index) const
     returns the surface of range Index
    void CenterLines (NCollection_List< TopoDS_Shape > &LC) const
     set in <LC> all the center lines
    occ::handle< Geom_SurfaceSurface (const TopoDS_Shape &CenterLine) const
     returns the surface generated by the centerline. <CenterLine> may be
    const TopoDS_FaceFace (const TopoDS_Shape &CenterLine) const
     returns the face generated by the centerline. <CenterLine> may be
    BiTgte_ContactType ContactType (const int Index) const
     returns the type of contact
    const TopoDS_ShapeSupportShape1 (const int Index) const
     gives the first support shape relative to SurfaceFillet(Index);
    const TopoDS_ShapeSupportShape2 (const int Index) const
     gives the second support shape relative to SurfaceFillet(Index);
    occ::handle< Geom_CurveCurveOnShape1 (const int Index) const
     gives the 3d curve of SurfaceFillet(Index) on SupportShape1(Index)
    occ::handle< Geom_CurveCurveOnShape2 (const int Index) const
     gives the 3d curve of SurfaceFillet(Index) on SupportShape2(Index)
    occ::handle< Geom2d_CurvePCurveOnFace1 (const int Index) const
     gives the PCurve associated to CurvOnShape1(Index) on the support face Warning: returns a Null Handle if SupportShape1 is not a Face
    occ::handle< Geom2d_CurvePCurve1OnFillet (const int Index) const
     gives the PCurve associated to CurveOnShape1(Index) on the Fillet
    occ::handle< Geom2d_CurvePCurveOnFace2 (const int Index) const
     gives the PCurve associated to CurveOnShape2(Index) on the support face Warning: returns a Null Handle if SupportShape2 is not a Face
    occ::handle< Geom2d_CurvePCurve2OnFillet (const int Index) const
     gives the PCurve associated to CurveOnShape2(Index) on the fillet
    int NbBranches ()
    void IndicesOfBranche (const int Index, int &From, int &To) const
     Set in <From>,<To> the indices of the faces of the branche <Index>.
    void ComputeCenters ()
     Computes the center lines.

    Detailed Description

    Root class.

    Constructor & Destructor Documentation

    ◆ BiTgte_Blend() [1/2]

    BiTgte_Blend::BiTgte_Blend ( )

    ◆ BiTgte_Blend() [2/2]

    BiTgte_Blend::BiTgte_Blend ( const TopoDS_Shape & S,
    const double Radius,
    const double Tol,
    const bool NUBS )

    : Shape to be rounded <Radius>: radius of the fillet <Tol>: Tol3d used in approximations <NUBS>: if true, generate only NUBS surfaces, if false, generate analytical surfaces if possible

    Member Function Documentation

    ◆ CenterLines()

    void BiTgte_Blend::CenterLines ( NCollection_List< TopoDS_Shape > & LC) const

    set in <LC> all the center lines

    ◆ Clear()

    void BiTgte_Blend::Clear ( )

    Clear all the Fields.

    ◆ ComputeCenters()

    void BiTgte_Blend::ComputeCenters ( )

    Computes the center lines.

    ◆ ContactType()

    BiTgte_ContactType BiTgte_Blend::ContactType ( const int Index) const

    returns the type of contact

    ◆ CurveOnShape1()

    occ::handle< Geom_Curve > BiTgte_Blend::CurveOnShape1 ( const int Index) const

    gives the 3d curve of SurfaceFillet(Index) on SupportShape1(Index)

    ◆ CurveOnShape2()

    occ::handle< Geom_Curve > BiTgte_Blend::CurveOnShape2 ( const int Index) const

    gives the 3d curve of SurfaceFillet(Index) on SupportShape2(Index)

    ◆ Face() [1/2]

    const TopoDS_Face & BiTgte_Blend::Face ( const int Index) const

    returns the surface of range Index

    ◆ Face() [2/2]

    const TopoDS_Face & BiTgte_Blend::Face ( const TopoDS_Shape & CenterLine) const

    returns the face generated by the centerline. <CenterLine> may be

    • an edge : generate a pipe.
    • a vertex : generate a sphere. Warning: returns a Null Shape if <CenterLine> generates no surface.

    ◆ IndicesOfBranche()

    void BiTgte_Blend::IndicesOfBranche ( const int Index,
    int & From,
    int & To ) const

    Set in <From>,<To> the indices of the faces of the branche <Index>.

    i.e: Branche<Index> = Face(From) + Face(From+1) + ..+ Face(To)

    ◆ Init()

    void BiTgte_Blend::Init ( const TopoDS_Shape & S,
    const double Radius,
    const double Tol,
    const bool NUBS )

    ◆ IsDone()

    bool BiTgte_Blend::IsDone ( ) const

    ◆ NbBranches()

    int BiTgte_Blend::NbBranches ( )

    ◆ NbSurfaces()

    int BiTgte_Blend::NbSurfaces ( ) const

    returns the Number of generated surfaces.

    ◆ PCurve1OnFillet()

    occ::handle< Geom2d_Curve > BiTgte_Blend::PCurve1OnFillet ( const int Index) const

    gives the PCurve associated to CurveOnShape1(Index) on the Fillet

    ◆ PCurve2OnFillet()

    occ::handle< Geom2d_Curve > BiTgte_Blend::PCurve2OnFillet ( const int Index) const

    gives the PCurve associated to CurveOnShape2(Index) on the fillet

    ◆ PCurveOnFace1()

    occ::handle< Geom2d_Curve > BiTgte_Blend::PCurveOnFace1 ( const int Index) const

    gives the PCurve associated to CurvOnShape1(Index) on the support face Warning: returns a Null Handle if SupportShape1 is not a Face

    ◆ PCurveOnFace2()

    occ::handle< Geom2d_Curve > BiTgte_Blend::PCurveOnFace2 ( const int Index) const

    gives the PCurve associated to CurveOnShape2(Index) on the support face Warning: returns a Null Handle if SupportShape2 is not a Face

    ◆ Perform()

    void BiTgte_Blend::Perform ( const bool BuildShape = true)

    Compute the generated surfaces. If <BuildShape> is true, compute the resulting Shape. If false, only the blending surfaces are computed.

    ◆ SetEdge()

    void BiTgte_Blend::SetEdge ( const TopoDS_Edge & Edge)

    Set an edge of <myShape> to be rounded.

    ◆ SetFaces()

    void BiTgte_Blend::SetFaces ( const TopoDS_Face & F1,
    const TopoDS_Face & F2 )

    Set two faces of <myShape> on which the Sphere must roll.

    ◆ SetStoppingFace()

    void BiTgte_Blend::SetStoppingFace ( const TopoDS_Face & Face)

    Set a face on which the fillet must stop.

    ◆ Shape()

    const TopoDS_Shape & BiTgte_Blend::Shape ( ) const

    returns the result

    ◆ SupportShape1()

    const TopoDS_Shape & BiTgte_Blend::SupportShape1 ( const int Index) const

    gives the first support shape relative to SurfaceFillet(Index);

    ◆ SupportShape2()

    const TopoDS_Shape & BiTgte_Blend::SupportShape2 ( const int Index) const

    gives the second support shape relative to SurfaceFillet(Index);

    ◆ Surface() [1/2]

    occ::handle< Geom_Surface > BiTgte_Blend::Surface ( const int Index) const

    returns the surface of range Index

    ◆ Surface() [2/2]

    occ::handle< Geom_Surface > BiTgte_Blend::Surface ( const TopoDS_Shape & CenterLine) const

    returns the surface generated by the centerline. <CenterLine> may be

    • an edge : generate a pipe.
    • a vertex : generate a sphere. Warning: returns a Null Handle if <CenterLine> generates no surface.

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