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

This class is private. It is used by the class Builder
from FilletSurf. It computes geometric information about fillets.

#include <FilletSurf_InternalBuilder.hxx>

Inheritance diagram for FilletSurf_InternalBuilder:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC FilletSurf_InternalBuilder (const TopoDS_Shape &S, const ChFi3d_FilletShape FShape=ChFi3d_Polynomial, const Standard_Real Ta=1.0e-2, const Standard_Real Tapp3d=1.0e-4, const Standard_Real Tapp2d=1.0e-5)
Standard_Integer Add (const TopTools_ListOfShape &E, const Standard_Real R)
 Initializes the contour with a list of Edges
0 : no problem
1 : empty list
2 : the edges are not G1
3 : two connected faces on a same support are not G1
4 : the edge is not on shape
5 : NotSharpEdge: the edge is not sharp

void Perform ()
Standard_Boolean Done () const
Standard_Integer NbSurface () const
 gives the number of NUBS surfaces of the Fillet.

const Handle_Geom_Surface & SurfaceFillet (const Standard_Integer Index) const
 gives the NUBS surface of index Index.

Standard_Real TolApp3d (const Standard_Integer Index) const
 gives the 3d tolerance reached during approximation
of the surface of index Index

const TopoDS_FaceSupportFace1 (const Standard_Integer Index) const
 gives the first support face relative to SurfaceFillet(Index);

const TopoDS_FaceSupportFace2 (const Standard_Integer Index) const
 gives the second support face relative to SurfaceFillet(Index);

const Handle_Geom_Curve & CurveOnFace1 (const Standard_Integer Index) const
 gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)

const Handle_Geom_Curve & CurveOnFace2 (const Standard_Integer Index) const
 gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)

const Handle_Geom2d_Curve & PCurveOnFace1 (const Standard_Integer Index) const
 gives the PCurve associated to CurvOnSup1(Index) on the support face

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

const Handle_Geom2d_Curve & PCurveOnFace2 (const Standard_Integer Index) const
 gives the PCurve associated to CurveOnSup2(Index) on the support face

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

Standard_Real FirstParameter () const
 gives the parameter of the fillet on the first edge.




Standard_Real LastParameter () const
 gives the parameter of the fillet on the last edge


FilletSurf_StatusType StartSectionStatus () const
FilletSurf_StatusType EndSectionStatus () const
void Simulate ()
Standard_Integer NbSection (const Standard_Integer IndexSurf) const
void Section (const Standard_Integer IndexSurf, const Standard_Integer IndexSec, Handle< Geom_TrimmedCurve > &Circ) const

Protected Member Functions

virtual Standard_Boolean PerformSurf (ChFiDS_SequenceOfSurfData &SeqData, const Handle< ChFiDS_HElSpine > &Guide, const Handle< ChFiDS_Spine > &Spine, const Standard_Integer Choix, const Handle< BRepAdaptor_HSurface > &S1, const Handle< Adaptor3d_TopolTool > &I1, const Handle< BRepAdaptor_HSurface > &S2, const Handle< Adaptor3d_TopolTool > &I2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &First, Standard_Real &Last, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecOnS1, const Standard_Boolean RecOnS2, const math_Vector &Soldep, Standard_Boolean &Intf, Standard_Boolean &Intl)
 This method calculates the elements of construction of the
fillet (constant or evolutive).


virtual void PerformSurf (ChFiDS_SequenceOfSurfData &SeqData, const Handle< ChFiDS_HElSpine > &Guide, const Handle< ChFiDS_Spine > &Spine, const Standard_Integer Choix, const Handle< BRepAdaptor_HSurface > &S1, const Handle< Adaptor3d_TopolTool > &I1, const Handle< BRepAdaptor_HCurve2d > &PC1, const Handle< BRepAdaptor_HSurface > &Sref1, const Handle< BRepAdaptor_HCurve2d > &PCref1, Standard_Boolean &Decroch1, const Handle< BRepAdaptor_HSurface > &S2, const Handle< Adaptor3d_TopolTool > &I2, const TopAbs_Orientation Or2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &First, Standard_Real &Last, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector &Soldep)
 Method, implemented in inheritants, calculates
the elements of construction of the surface (fillet
or chamfer) contact edge/face.

virtual void PerformSurf (ChFiDS_SequenceOfSurfData &SeqData, const Handle< ChFiDS_HElSpine > &Guide, const Handle< ChFiDS_Spine > &Spine, const Standard_Integer Choix, const Handle< BRepAdaptor_HSurface > &S1, const Handle< Adaptor3d_TopolTool > &I1, const TopAbs_Orientation Or1, const Handle< BRepAdaptor_HSurface > &S2, const Handle< Adaptor3d_TopolTool > &I2, const Handle< BRepAdaptor_HCurve2d > &PC2, const Handle< BRepAdaptor_HSurface > &Sref2, const Handle< BRepAdaptor_HCurve2d > &PCref2, Standard_Boolean &Decroch2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &First, Standard_Real &Last, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector &Soldep)
 Method, implemented in inheritants, calculates
the elements of construction of the surface (fillet
or chamfer) contact edge/face.

virtual void PerformSurf (ChFiDS_SequenceOfSurfData &Data, const Handle< ChFiDS_HElSpine > &Guide, const Handle< ChFiDS_Spine > &Spine, const Standard_Integer Choix, const Handle< BRepAdaptor_HSurface > &S1, const Handle< Adaptor3d_TopolTool > &I1, const Handle< BRepAdaptor_HCurve2d > &PC1, const Handle< BRepAdaptor_HSurface > &Sref1, const Handle< BRepAdaptor_HCurve2d > &PCref1, Standard_Boolean &Decroch1, const TopAbs_Orientation Or1, const Handle< BRepAdaptor_HSurface > &S2, const Handle< Adaptor3d_TopolTool > &I2, const Handle< BRepAdaptor_HCurve2d > &PC2, const Handle< BRepAdaptor_HSurface > &Sref2, const Handle< BRepAdaptor_HCurve2d > &PCref2, Standard_Boolean &Decroch2, const TopAbs_Orientation Or2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &First, Standard_Real &Last, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP1, const Standard_Boolean RecRst1, const Standard_Boolean RecP2, const Standard_Boolean RecRst2, const math_Vector &Soldep)
 Method, implemented in inheritants, calculates
the elements of construction of the surface (fillet
or chamfer) contact edge/edge.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from ChFi3d_FilBuilder.

Reimplemented from ChFi3d_FilBuilder.

Reimplemented from ChFi3d_FilBuilder.

Reimplemented from ChFi3d_FilBuilder.


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