Open CASCADE Technology 6.6.0
Public Member Functions
BiTgte_Blend Class Reference

#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


void Init (const TopoDS_Shape &S, const Standard_Real Radius, const Standard_Real Tol, const Standard_Boolean 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 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.

Standard_Boolean IsDone () const
const TopoDS_ShapeShape () const
 returns the result

Standard_Integer NbSurfaces () const
 returns the Number of generated surfaces.

Handle_Geom_Surface Surface (const Standard_Integer Index) const
 returns the surface of range Index

const TopoDS_FaceFace (const Standard_Integer Index) const
 returns the surface of range Index

void CenterLines (TopTools_ListOfShape &LC) const
 set in <LC> all the center lines

Handle_Geom_Surface Surface (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 Standard_Integer Index) const
 returns the type of contact

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

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

Handle_Geom_Curve CurveOnShape1 (const Standard_Integer Index) const
 gives the 3d curve of SurfaceFillet(Index)
on SupportShape1(Index)

Handle_Geom_Curve CurveOnShape2 (const Standard_Integer Index) const
 gives the 3d curve of SurfaceFillet(Index)
on SupportShape2(Index)

Handle_Geom2d_Curve 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

Handle_Geom2d_Curve PCurve1OnFillet (const Standard_Integer Index) const
 gives the PCurve associated to CurveOnShape1(Index)
on the Fillet

Handle_Geom2d_Curve 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

Handle_Geom2d_Curve PCurve2OnFillet (const Standard_Integer Index) const
 gives the PCurve associated to CurveOnShape2(Index)
on the fillet

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

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

void ComputeCenters ()
 Computes the center lines


Constructor & Destructor Documentation

BiTgte_Blend::BiTgte_Blend ( )
BiTgte_Blend::BiTgte_Blend ( const TopoDS_Shape S,
const Standard_Real  Radius,
const Standard_Real  Tol,
const Standard_Boolean  NUBS 
)

Member Function Documentation

void BiTgte_Blend::CenterLines ( TopTools_ListOfShape LC) const
void BiTgte_Blend::Clear ( )
void BiTgte_Blend::ComputeCenters ( )
BiTgte_ContactType BiTgte_Blend::ContactType ( const Standard_Integer  Index) const
Handle_Geom_Curve BiTgte_Blend::CurveOnShape1 ( const Standard_Integer  Index) const
Handle_Geom_Curve BiTgte_Blend::CurveOnShape2 ( const Standard_Integer  Index) const
const TopoDS_Face& BiTgte_Blend::Face ( const Standard_Integer  Index) const
const TopoDS_Face& BiTgte_Blend::Face ( const TopoDS_Shape CenterLine) const
  • an edge : generate a pipe.
  • a vertex : generate a sphere.
    Warning: returns a Null Shape if <CenterLine> generates
    no surface.
void BiTgte_Blend::IndicesOfBranche ( const Standard_Integer  Index,
Standard_Integer From,
Standard_Integer To 
) const
void BiTgte_Blend::Init ( const TopoDS_Shape S,
const Standard_Real  Radius,
const Standard_Real  Tol,
const Standard_Boolean  NUBS 
)
Standard_Boolean BiTgte_Blend::IsDone ( ) const
Standard_Integer BiTgte_Blend::NbBranches ( )
Standard_Integer BiTgte_Blend::NbSurfaces ( ) const
Handle_Geom2d_Curve BiTgte_Blend::PCurve1OnFillet ( const Standard_Integer  Index) const
Handle_Geom2d_Curve BiTgte_Blend::PCurve2OnFillet ( const Standard_Integer  Index) const
Handle_Geom2d_Curve BiTgte_Blend::PCurveOnFace1 ( const Standard_Integer  Index) const
Handle_Geom2d_Curve BiTgte_Blend::PCurveOnFace2 ( const Standard_Integer  Index) const
void BiTgte_Blend::Perform ( const Standard_Boolean  BuildShape = Standard_True)
void BiTgte_Blend::SetEdge ( const TopoDS_Edge Edge)
void BiTgte_Blend::SetFaces ( const TopoDS_Face F1,
const TopoDS_Face F2 
)
void BiTgte_Blend::SetStoppingFace ( const TopoDS_Face Face)
const TopoDS_Shape& BiTgte_Blend::Shape ( ) const
const TopoDS_Shape& BiTgte_Blend::SupportShape1 ( const Standard_Integer  Index) const
const TopoDS_Shape& BiTgte_Blend::SupportShape2 ( const Standard_Integer  Index) const
Handle_Geom_Surface BiTgte_Blend::Surface ( const Standard_Integer  Index) const
Handle_Geom_Surface BiTgte_Blend::Surface ( const TopoDS_Shape CenterLine) const
  • 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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines