Open CASCADE Technology  7.4.0
Public Member Functions
BiTgte_Blend Class Reference

Root class. More...

#include <BiTgte_Blend.hxx>

Public Member Functions

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

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 Standard_Real  Radius,
const Standard_Real  Tol,
const Standard_Boolean  NUBS 
)

<S>: 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 ( TopTools_ListOfShape 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 Standard_Integer  Index) const

returns the type of contact

◆ CurveOnShape1()

Handle< Geom_Curve > BiTgte_Blend::CurveOnShape1 ( const Standard_Integer  Index) const

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

◆ CurveOnShape2()

Handle< Geom_Curve > BiTgte_Blend::CurveOnShape2 ( const Standard_Integer  Index) const

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

◆ Face() [1/2]

const TopoDS_Face& BiTgte_Blend::Face ( const Standard_Integer  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 Standard_Integer  Index,
Standard_Integer From,
Standard_Integer 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 Standard_Real  Radius,
const Standard_Real  Tol,
const Standard_Boolean  NUBS 
)

◆ IsDone()

Standard_Boolean BiTgte_Blend::IsDone ( ) const

◆ NbBranches()

Standard_Integer BiTgte_Blend::NbBranches ( )

◆ NbSurfaces()

Standard_Integer BiTgte_Blend::NbSurfaces ( ) const

returns the Number of generated surfaces.

◆ PCurve1OnFillet()

Handle< Geom2d_Curve > BiTgte_Blend::PCurve1OnFillet ( const Standard_Integer  Index) const

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

◆ PCurve2OnFillet()

Handle< Geom2d_Curve > BiTgte_Blend::PCurve2OnFillet ( const Standard_Integer  Index) const

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

◆ PCurveOnFace1()

Handle< Geom2d_Curve > BiTgte_Blend::PCurveOnFace1 ( const Standard_Integer  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()

Handle< Geom2d_Curve > BiTgte_Blend::PCurveOnFace2 ( const Standard_Integer  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 Standard_Boolean  BuildShape = Standard_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 Standard_Integer  Index) const

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

◆ SupportShape2()

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

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

◆ Surface() [1/2]

Handle< Geom_Surface > BiTgte_Blend::Surface ( const Standard_Integer  Index) const

returns the surface of range Index

◆ Surface() [2/2]

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: