Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes
ChFi3d_Builder Class Referenceabstract

Root class for calculation of surfaces (fillets, chamfers) destined to smooth edges of a gap on a Shape and the reconstruction of the Shape. More...

#include <ChFi3d_Builder.hxx>

Inheritance diagram for ChFi3d_Builder:
Inheritance graph
[legend]

Public Member Functions

virtual ~ChFi3d_Builder ()
 
void SetParams (const double Tang, const double Tesp, const double T2d, const double TApp3d, const double TolApp2d, const double Fleche)
 
void SetContinuity (const GeomAbs_Shape InternalContinuity, const double AngularTolerance)
 
void Remove (const TopoDS_Edge &E)
 extracts from the list the contour containing edge E.
 
int Contains (const TopoDS_Edge &E) const
 gives the number of the contour containing E or 0 if E does not belong to any contour.
 
int Contains (const TopoDS_Edge &E, int &IndexInSpine) const
 gives the number of the contour containing E or 0 if E does not belong to any contour. Sets in IndexInSpine the index of E in the contour if it's found
 
int NbElements () const
 gives the number of disjoint contours on which the fillets are calculated
 
occ::handle< ChFiDS_SpineValue (const int I) const
 gives the n'th set of edges (contour) if I >NbElements()
 
double Length (const int IC) const
 returns the length of the contour of index IC.
 
TopoDS_Vertex FirstVertex (const int IC) const
 returns the First vertex V of the contour of index IC.
 
TopoDS_Vertex LastVertex (const int IC) const
 returns the Last vertex V of the contour of index IC.
 
double Abscissa (const int IC, const TopoDS_Vertex &V) const
 returns the abscissa of the vertex V on the contour of index IC.
 
double RelativeAbscissa (const int IC, const TopoDS_Vertex &V) const
 returns the relative abscissa([0.,1.]) of the vertex V on the contour of index IC.
 
bool ClosedAndTangent (const int IC) const
 returns true if the contour of index IC is closed an tangent.
 
bool Closed (const int IC) const
 returns true if the contour of index IC is closed
 
void Compute ()
 general calculation of geometry on all edges, topologic reconstruction.
 
bool IsDone () const
 returns True if the computation is success
 
TopoDS_Shape Shape () const
 if (Isdone()) makes the result. if (!Isdone())
 
const NCollection_List< TopoDS_Shape > & Generated (const TopoDS_Shape &EouV)
 Advanced function for the history.
 
int NbFaultyContours () const
 Returns the number of contours on which the calculation has failed.
 
int FaultyContour (const int I) const
 Returns the number of I'th contour on which the calculation has failed.
 
int NbComputedSurfaces (const int IC) const
 Returns the number of surfaces calculated on the contour IC.
 
occ::handle< Geom_SurfaceComputedSurface (const int IC, const int IS) const
 Returns the IS'th surface calculated on the contour IC.
 
int NbFaultyVertices () const
 Returns the number of vertices on which the calculation has failed.
 
TopoDS_Vertex FaultyVertex (const int IV) const
 Returns the IV'th vertex on which the calculation has failed.
 
bool HasResult () const
 returns True if a partial result has been calculated
 
TopoDS_Shape BadShape () const
 if (HasResult()) returns partial result if (!HasResult())
 
ChFiDS_ErrorStatus StripeStatus (const int IC) const
 for the stripe IC ,indication on the cause of failure WalkingFailure,TwistedSurface,Error, Ok
 
void Reset ()
 Reset all results of compute and returns the algorithm in the state of the last acquisition to enable modification of contours or areas.
 
occ::handle< TopOpeBRepBuild_HBuilderBuilder () const
 Returns the Builder of topologic operations.
 
bool SplitKPart (const occ::handle< ChFiDS_SurfData > &Data, NCollection_Sequence< occ::handle< ChFiDS_SurfData > > &SetData, const occ::handle< ChFiDS_Spine > &Spine, const int Iedge, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, bool &Intf, bool &Intl)
 Method, implemented in the inheritants, calculates the elements of construction of the surface (fillet or chamfer).
 
bool PerformTwoCornerbyInter (const int Index)
 

Protected Member Functions

 ChFi3d_Builder (const TopoDS_Shape &S, const double Ta)
 
virtual void SimulKPart (const occ::handle< ChFiDS_SurfData > &SD) const =0
 
virtual bool SimulSurf (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecOnS1, const bool RecOnS2, const math_Vector &Soldep, int &Intf, int &Intl)=0
 
virtual void SimulSurf (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< BRepAdaptor_Curve2d > &PC1, const occ::handle< BRepAdaptor_Surface > &Sref1, const occ::handle< BRepAdaptor_Curve2d > &PCref1, bool &Decroch1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const TopAbs_Orientation Or2, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecP, const bool RecS, const bool RecRst, const math_Vector &Soldep)
 
virtual void SimulSurf (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const TopAbs_Orientation Or1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const occ::handle< BRepAdaptor_Curve2d > &PC2, const occ::handle< BRepAdaptor_Surface > &Sref2, const occ::handle< BRepAdaptor_Curve2d > &PCref2, bool &Decroch2, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecP, const bool RecS, const bool RecRst, const math_Vector &Soldep)
 
virtual void SimulSurf (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< BRepAdaptor_Curve2d > &PC1, const occ::handle< BRepAdaptor_Surface > &Sref1, const occ::handle< BRepAdaptor_Curve2d > &PCref1, bool &Decroch1, const TopAbs_Orientation Or1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const occ::handle< BRepAdaptor_Curve2d > &PC2, const occ::handle< BRepAdaptor_Surface > &Sref2, const occ::handle< BRepAdaptor_Curve2d > &PCref2, bool &Decroch2, const TopAbs_Orientation Or2, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecP1, const bool RecRst1, const bool RecP2, const bool RecRst2, const math_Vector &Soldep)
 
bool SimulData (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_ElSpine > &AdditionalGuide, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, Blend_Function &Func, Blend_FuncInv &FInv, const double PFirst, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const math_Vector &Soldep, const int NbSecMin, const bool RecOnS1=false, const bool RecOnS2=false)
 
bool SimulData (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &HGuide, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Adaptor2d_Curve2d > &PC2, const occ::handle< Adaptor3d_TopolTool > &I2, bool &Decroch, Blend_SurfRstFunction &Func, Blend_FuncInv &FInv, Blend_SurfPointFuncInv &FInvP, Blend_SurfCurvFuncInv &FInvC, const double PFirst, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const math_Vector &Soldep, const int NbSecMin, const bool Inside, const bool Appro, const bool Forward, const bool RecP, const bool RecS, const bool RecRst)
 
bool SimulData (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &HGuide, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor2d_Curve2d > &PC1, const occ::handle< Adaptor3d_TopolTool > &I1, bool &Decroch1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Adaptor2d_Curve2d > &PC2, const occ::handle< Adaptor3d_TopolTool > &I2, bool &Decroch2, Blend_RstRstFunction &Func, Blend_SurfCurvFuncInv &FInv1, Blend_CurvPointFuncInv &FInvP1, Blend_SurfCurvFuncInv &FInv2, Blend_CurvPointFuncInv &FInvP2, const double PFirst, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const math_Vector &Soldep, const int NbSecMin, const bool Inside, const bool Appro, const bool Forward, const bool RecP1, const bool RecRst1, const bool RecP2, const bool RecRst2)
 
virtual void SetRegul ()=0
 
bool PerformElement (const occ::handle< ChFiDS_Spine > &CElement, const double Offset, const TopoDS_Face &theFirstFace)
 
void PerformExtremity (const occ::handle< ChFiDS_Spine > &CElement)
 
void PerformSetOfSurf (occ::handle< ChFiDS_Stripe > &S, const bool Simul=false)
 
void PerformSetOfKPart (occ::handle< ChFiDS_Stripe > &S, const bool Simul=false)
 
void PerformSetOfKGen (occ::handle< ChFiDS_Stripe > &S, const bool Simul=false)
 
void Trunc (const occ::handle< ChFiDS_SurfData > &SD, const occ::handle< ChFiDS_Spine > &Spine, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_Surface > &S2, const int iedge, const bool isfirst, const int cntlFiOnS)
 
void CallPerformSurf (occ::handle< ChFiDS_Stripe > &Stripe, const bool Simul, NCollection_Sequence< occ::handle< ChFiDS_SurfData > > &SeqSD, occ::handle< ChFiDS_SurfData > &SD, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const occ::handle< BRepAdaptor_Surface > &HS1, const occ::handle< BRepAdaptor_Surface > &HS3, const gp_Pnt2d &P1, const gp_Pnt2d &P3, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< BRepAdaptor_Surface > &HS2, const occ::handle< BRepAdaptor_Surface > &HS4, const gp_Pnt2d &P2, const gp_Pnt2d &P4, const occ::handle< Adaptor3d_TopolTool > &I2, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecOnS1, const bool RecOnS2, math_Vector &Soldep, int &Intf, int &Intl, occ::handle< BRepAdaptor_Surface > &Surf1, occ::handle< BRepAdaptor_Surface > &Surf2)
 
virtual bool PerformSurf (NCollection_Sequence< occ::handle< ChFiDS_SurfData > > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecOnS1, const bool RecOnS2, const math_Vector &Soldep, int &Intf, int &Intl)=0
 Method, implemented in the inheritants, calculating elements of construction of the surface (fillet or chamfer).
 
virtual void PerformSurf (NCollection_Sequence< occ::handle< ChFiDS_SurfData > > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< BRepAdaptor_Curve2d > &PC1, const occ::handle< BRepAdaptor_Surface > &Sref1, const occ::handle< BRepAdaptor_Curve2d > &PCref1, bool &Decroch1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const TopAbs_Orientation Or2, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecP, const bool RecS, const bool 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 (NCollection_Sequence< occ::handle< ChFiDS_SurfData > > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const TopAbs_Orientation Or1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const occ::handle< BRepAdaptor_Curve2d > &PC2, const occ::handle< BRepAdaptor_Surface > &Sref2, const occ::handle< BRepAdaptor_Curve2d > &PCref2, bool &Decroch2, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecP, const bool RecS, const bool 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 (NCollection_Sequence< occ::handle< ChFiDS_SurfData > > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, const int Choix, const occ::handle< BRepAdaptor_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< BRepAdaptor_Curve2d > &PC1, const occ::handle< BRepAdaptor_Surface > &Sref1, const occ::handle< BRepAdaptor_Curve2d > &PCref1, bool &Decroch1, const TopAbs_Orientation Or1, const occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, const occ::handle< BRepAdaptor_Curve2d > &PC2, const occ::handle< BRepAdaptor_Surface > &Sref2, const occ::handle< BRepAdaptor_Curve2d > &PCref2, bool &Decroch2, const TopAbs_Orientation Or2, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const bool RecP1, const bool RecRst1, const bool RecP2, const bool RecRst2, const math_Vector &Soldep)
 Method, implemented in inheritants, calculates the elements of construction of the surface (fillet or chamfer) contact edge/edge.
 
virtual void PerformTwoCorner (const int Index)=0
 
virtual void PerformThreeCorner (const int Index)=0
 
void PerformMoreThreeCorner (const int Index, const int nbcourb)
 
virtual void ExtentOneCorner (const TopoDS_Vertex &V, const occ::handle< ChFiDS_Stripe > &S)=0
 
virtual void ExtentTwoCorner (const TopoDS_Vertex &V, const NCollection_List< occ::handle< ChFiDS_Stripe > > &LS)=0
 
virtual void ExtentThreeCorner (const TopoDS_Vertex &V, const NCollection_List< occ::handle< ChFiDS_Stripe > > &LS)=0
 
virtual bool PerformFirstSection (const occ::handle< ChFiDS_Spine > &S, const occ::handle< ChFiDS_ElSpine > &HGuide, const int Choix, occ::handle< BRepAdaptor_Surface > &S1, occ::handle< BRepAdaptor_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< Adaptor3d_TopolTool > &I2, const double Par, math_Vector &SolDep, TopAbs_State &Pos1, TopAbs_State &Pos2) const =0
 
bool SearchFace (const occ::handle< ChFiDS_Spine > &Sp, const ChFiDS_CommonPoint &Pc, const TopoDS_Face &FRef, TopoDS_Face &FVoi) const
 
bool StripeOrientations (const occ::handle< ChFiDS_Spine > &Sp, TopAbs_Orientation &Or1, TopAbs_Orientation &Or2, int &ChoixConge) const
 
bool ComputeData (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &Guide, const occ::handle< ChFiDS_Spine > &Spine, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Adaptor3d_TopolTool > &I2, Blend_Function &Func, Blend_FuncInv &FInv, const double PFirst, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const bool Inside, const bool Appro, const bool Forward, const math_Vector &Soldep, int &Intf, int &Intl, bool &Gd1, bool &Gd2, bool &Gf1, bool &Gf2, const bool RecOnS1=false, const bool RecOnS2=false)
 Calculates a Line of contact face/face.
 
bool ComputeData (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &HGuide, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_TopolTool > &I1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Adaptor2d_Curve2d > &PC2, const occ::handle< Adaptor3d_TopolTool > &I2, bool &Decroch, Blend_SurfRstFunction &Func, Blend_FuncInv &FInv, Blend_SurfPointFuncInv &FInvP, Blend_SurfCurvFuncInv &FInvC, const double PFirst, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const math_Vector &Soldep, const bool Inside, const bool Appro, const bool Forward, const bool RecP, const bool RecS, const bool RecRst)
 Calculates a Line of contact edge/face.
 
bool ComputeData (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< ChFiDS_ElSpine > &HGuide, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor2d_Curve2d > &PC1, const occ::handle< Adaptor3d_TopolTool > &I1, bool &Decroch1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Adaptor2d_Curve2d > &PC2, const occ::handle< Adaptor3d_TopolTool > &I2, bool &Decroch2, Blend_RstRstFunction &Func, Blend_SurfCurvFuncInv &FInv1, Blend_CurvPointFuncInv &FInvP1, Blend_SurfCurvFuncInv &FInv2, Blend_CurvPointFuncInv &FInvP2, const double PFirst, const double MaxStep, const double Fleche, const double TolGuide, double &First, double &Last, const math_Vector &Soldep, const bool Inside, const bool Appro, const bool Forward, const bool RecP1, const bool RecRst1, const bool RecP2, const bool RecRst2)
 Calculates a Line of contact edge/edge.
 
bool CompleteData (occ::handle< ChFiDS_SurfData > &Data, Blend_Function &Func, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_Surface > &S2, const TopAbs_Orientation Or1, const bool Gd1, const bool Gd2, const bool Gf1, const bool Gf2, const bool Reversed=false)
 
bool CompleteData (occ::handle< ChFiDS_SurfData > &Data, Blend_SurfRstFunction &Func, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_Surface > &S2, const TopAbs_Orientation Or, const bool Reversed)
 
bool CompleteData (occ::handle< ChFiDS_SurfData > &Data, Blend_RstRstFunction &Func, occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_Surface > &S2, const TopAbs_Orientation Or)
 
bool StoreData (occ::handle< ChFiDS_SurfData > &Data, const AppBlend_Approx &Approx, const occ::handle< BRepBlend_Line > &Lin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_Surface > &S2, const TopAbs_Orientation Or1, const bool Gd1, const bool Gd2, const bool Gf1, const bool Gf2, const bool Reversed=false)
 
bool CompleteData (occ::handle< ChFiDS_SurfData > &Data, const occ::handle< Geom_Surface > &Surfcoin, const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Geom2d_Curve > &PC1, const occ::handle< Adaptor3d_Surface > &S2, const occ::handle< Geom2d_Curve > &PC2, const TopAbs_Orientation Or, const bool On1, const bool Gd1, const bool Gd2, const bool Gf1, const bool Gf2)
 

Protected Attributes

double tolappangle
 
double tolesp
 
double tol2d
 
double tolapp3d
 
double tolapp2d
 
double fleche
 
GeomAbs_Shape myConti
 
ChFiDS_Map myEFMap
 
ChFiDS_Map myESoMap
 
ChFiDS_Map myEShMap
 
ChFiDS_Map myVFMap
 
ChFiDS_Map myVEMap
 
occ::handle< TopOpeBRepDS_HDataStructuremyDS
 
occ::handle< TopOpeBRepBuild_HBuildermyCoup
 
NCollection_List< occ::handle< ChFiDS_Stripe > > myListStripe
 
ChFiDS_StripeMap myVDataMap
 
NCollection_List< ChFiDS_RegulmyRegul
 
NCollection_List< occ::handle< ChFiDS_Stripe > > badstripes
 
NCollection_List< TopoDS_Shapebadvertices
 
NCollection_DataMap< TopoDS_Shape, NCollection_List< int >, TopTools_ShapeMapHashermyEVIMap
 
NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHashermyEdgeFirstFace
 
bool done
 
bool hasresult
 

Detailed Description

Root class for calculation of surfaces (fillets, chamfers) destined to smooth edges of a gap on a Shape and the reconstruction of the Shape.

Constructor & Destructor Documentation

◆ ~ChFi3d_Builder()

virtual ChFi3d_Builder::~ChFi3d_Builder ( )
virtual

◆ ChFi3d_Builder()

ChFi3d_Builder::ChFi3d_Builder ( const TopoDS_Shape & S,
const double Ta )
protected

Member Function Documentation

◆ Abscissa()

double ChFi3d_Builder::Abscissa ( const int IC,
const TopoDS_Vertex & V ) const

returns the abscissa of the vertex V on the contour of index IC.

◆ BadShape()

TopoDS_Shape ChFi3d_Builder::BadShape ( ) const

if (HasResult()) returns partial result if (!HasResult())

◆ Builder()

occ::handle< TopOpeBRepBuild_HBuilder > ChFi3d_Builder::Builder ( ) const

Returns the Builder of topologic operations.

◆ CallPerformSurf()

void ChFi3d_Builder::CallPerformSurf ( occ::handle< ChFiDS_Stripe > & Stripe,
const bool Simul,
NCollection_Sequence< occ::handle< ChFiDS_SurfData > > & SeqSD,
occ::handle< ChFiDS_SurfData > & SD,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const occ::handle< BRepAdaptor_Surface > & HS1,
const occ::handle< BRepAdaptor_Surface > & HS3,
const gp_Pnt2d & P1,
const gp_Pnt2d & P3,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< BRepAdaptor_Surface > & HS2,
const occ::handle< BRepAdaptor_Surface > & HS4,
const gp_Pnt2d & P2,
const gp_Pnt2d & P4,
const occ::handle< Adaptor3d_TopolTool > & I2,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecOnS1,
const bool RecOnS2,
math_Vector & Soldep,
int & Intf,
int & Intl,
occ::handle< BRepAdaptor_Surface > & Surf1,
occ::handle< BRepAdaptor_Surface > & Surf2 )
protected

◆ Closed()

bool ChFi3d_Builder::Closed ( const int IC) const

returns true if the contour of index IC is closed

◆ ClosedAndTangent()

bool ChFi3d_Builder::ClosedAndTangent ( const int IC) const

returns true if the contour of index IC is closed an tangent.

◆ CompleteData() [1/4]

bool ChFi3d_Builder::CompleteData ( occ::handle< ChFiDS_SurfData > & Data,
Blend_Function & Func,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_Surface > & S2,
const TopAbs_Orientation Or1,
const bool Gd1,
const bool Gd2,
const bool Gf1,
const bool Gf2,
const bool Reversed = false )
protected

◆ CompleteData() [2/4]

bool ChFi3d_Builder::CompleteData ( occ::handle< ChFiDS_SurfData > & Data,
Blend_RstRstFunction & Func,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_Surface > & S2,
const TopAbs_Orientation Or )
protected

◆ CompleteData() [3/4]

bool ChFi3d_Builder::CompleteData ( occ::handle< ChFiDS_SurfData > & Data,
Blend_SurfRstFunction & Func,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_Surface > & S2,
const TopAbs_Orientation Or,
const bool Reversed )
protected

◆ CompleteData() [4/4]

bool ChFi3d_Builder::CompleteData ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< Geom_Surface > & Surfcoin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Geom2d_Curve > & PC1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Geom2d_Curve > & PC2,
const TopAbs_Orientation Or,
const bool On1,
const bool Gd1,
const bool Gd2,
const bool Gf1,
const bool Gf2 )
protected

◆ Compute()

void ChFi3d_Builder::Compute ( )

general calculation of geometry on all edges, topologic reconstruction.

◆ ComputeData() [1/3]

bool ChFi3d_Builder::ComputeData ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
Blend_Function & Func,
Blend_FuncInv & FInv,
const double PFirst,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const math_Vector & Soldep,
int & Intf,
int & Intl,
bool & Gd1,
bool & Gd2,
bool & Gf1,
bool & Gf2,
const bool RecOnS1 = false,
const bool RecOnS2 = false )
protected

Calculates a Line of contact face/face.

◆ ComputeData() [2/3]

bool ChFi3d_Builder::ComputeData ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & HGuide,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor2d_Curve2d > & PC1,
const occ::handle< Adaptor3d_TopolTool > & I1,
bool & Decroch1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Adaptor2d_Curve2d > & PC2,
const occ::handle< Adaptor3d_TopolTool > & I2,
bool & Decroch2,
Blend_RstRstFunction & Func,
Blend_SurfCurvFuncInv & FInv1,
Blend_CurvPointFuncInv & FInvP1,
Blend_SurfCurvFuncInv & FInv2,
Blend_CurvPointFuncInv & FInvP2,
const double PFirst,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const math_Vector & Soldep,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP1,
const bool RecRst1,
const bool RecP2,
const bool RecRst2 )
protected

Calculates a Line of contact edge/edge.

◆ ComputeData() [3/3]

bool ChFi3d_Builder::ComputeData ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & HGuide,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Adaptor2d_Curve2d > & PC2,
const occ::handle< Adaptor3d_TopolTool > & I2,
bool & Decroch,
Blend_SurfRstFunction & Func,
Blend_FuncInv & FInv,
Blend_SurfPointFuncInv & FInvP,
Blend_SurfCurvFuncInv & FInvC,
const double PFirst,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const math_Vector & Soldep,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP,
const bool RecS,
const bool RecRst )
protected

Calculates a Line of contact edge/face.

◆ ComputedSurface()

occ::handle< Geom_Surface > ChFi3d_Builder::ComputedSurface ( const int IC,
const int IS ) const

Returns the IS'th surface calculated on the contour IC.

◆ Contains() [1/2]

int ChFi3d_Builder::Contains ( const TopoDS_Edge & E) const

gives the number of the contour containing E or 0 if E does not belong to any contour.

◆ Contains() [2/2]

int ChFi3d_Builder::Contains ( const TopoDS_Edge & E,
int & IndexInSpine ) const

gives the number of the contour containing E or 0 if E does not belong to any contour. Sets in IndexInSpine the index of E in the contour if it's found

◆ ExtentOneCorner()

virtual void ChFi3d_Builder::ExtentOneCorner ( const TopoDS_Vertex & V,
const occ::handle< ChFiDS_Stripe > & S )
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ ExtentThreeCorner()

virtual void ChFi3d_Builder::ExtentThreeCorner ( const TopoDS_Vertex & V,
const NCollection_List< occ::handle< ChFiDS_Stripe > > & LS )
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ ExtentTwoCorner()

virtual void ChFi3d_Builder::ExtentTwoCorner ( const TopoDS_Vertex & V,
const NCollection_List< occ::handle< ChFiDS_Stripe > > & LS )
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ FaultyContour()

int ChFi3d_Builder::FaultyContour ( const int I) const

Returns the number of I'th contour on which the calculation has failed.

◆ FaultyVertex()

TopoDS_Vertex ChFi3d_Builder::FaultyVertex ( const int IV) const

Returns the IV'th vertex on which the calculation has failed.

◆ FirstVertex()

TopoDS_Vertex ChFi3d_Builder::FirstVertex ( const int IC) const

returns the First vertex V of the contour of index IC.

◆ Generated()

const NCollection_List< TopoDS_Shape > & ChFi3d_Builder::Generated ( const TopoDS_Shape & EouV)

Advanced function for the history.

◆ HasResult()

bool ChFi3d_Builder::HasResult ( ) const

returns True if a partial result has been calculated

◆ IsDone()

bool ChFi3d_Builder::IsDone ( ) const

returns True if the computation is success

◆ LastVertex()

TopoDS_Vertex ChFi3d_Builder::LastVertex ( const int IC) const

returns the Last vertex V of the contour of index IC.

◆ Length()

double ChFi3d_Builder::Length ( const int IC) const

returns the length of the contour of index IC.

◆ NbComputedSurfaces()

int ChFi3d_Builder::NbComputedSurfaces ( const int IC) const

Returns the number of surfaces calculated on the contour IC.

◆ NbElements()

int ChFi3d_Builder::NbElements ( ) const

gives the number of disjoint contours on which the fillets are calculated

◆ NbFaultyContours()

int ChFi3d_Builder::NbFaultyContours ( ) const

Returns the number of contours on which the calculation has failed.

◆ NbFaultyVertices()

int ChFi3d_Builder::NbFaultyVertices ( ) const

Returns the number of vertices on which the calculation has failed.

◆ PerformElement()

bool ChFi3d_Builder::PerformElement ( const occ::handle< ChFiDS_Spine > & CElement,
const double Offset,
const TopoDS_Face & theFirstFace )
protected

◆ PerformExtremity()

void ChFi3d_Builder::PerformExtremity ( const occ::handle< ChFiDS_Spine > & CElement)
protected

◆ PerformFirstSection()

virtual bool ChFi3d_Builder::PerformFirstSection ( const occ::handle< ChFiDS_Spine > & S,
const occ::handle< ChFiDS_ElSpine > & HGuide,
const int Choix,
occ::handle< BRepAdaptor_Surface > & S1,
occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< Adaptor3d_TopolTool > & I2,
const double Par,
math_Vector & SolDep,
TopAbs_State & Pos1,
TopAbs_State & Pos2 ) const
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ PerformMoreThreeCorner()

void ChFi3d_Builder::PerformMoreThreeCorner ( const int Index,
const int nbcourb )
protected

◆ PerformSetOfKGen()

void ChFi3d_Builder::PerformSetOfKGen ( occ::handle< ChFiDS_Stripe > & S,
const bool Simul = false )
protected

◆ PerformSetOfKPart()

void ChFi3d_Builder::PerformSetOfKPart ( occ::handle< ChFiDS_Stripe > & S,
const bool Simul = false )
protected

◆ PerformSetOfSurf()

void ChFi3d_Builder::PerformSetOfSurf ( occ::handle< ChFiDS_Stripe > & S,
const bool Simul = false )
protected

◆ PerformSurf() [1/4]

virtual void ChFi3d_Builder::PerformSurf ( NCollection_Sequence< occ::handle< ChFiDS_SurfData > > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< BRepAdaptor_Curve2d > & PC1,
const occ::handle< BRepAdaptor_Surface > & Sref1,
const occ::handle< BRepAdaptor_Curve2d > & PCref1,
bool & Decroch1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const TopAbs_Orientation Or2,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP,
const bool RecS,
const bool RecRst,
const math_Vector & Soldep )
protectedvirtual

Method, implemented in inheritants, calculates the elements of construction of the surface (fillet or chamfer) contact edge/face.

Reimplemented in ChFi3d_ChBuilder, ChFi3d_FilBuilder, and FilletSurf_InternalBuilder.

◆ PerformSurf() [2/4]

virtual void ChFi3d_Builder::PerformSurf ( NCollection_Sequence< occ::handle< ChFiDS_SurfData > > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< BRepAdaptor_Curve2d > & PC1,
const occ::handle< BRepAdaptor_Surface > & Sref1,
const occ::handle< BRepAdaptor_Curve2d > & PCref1,
bool & Decroch1,
const TopAbs_Orientation Or1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const occ::handle< BRepAdaptor_Curve2d > & PC2,
const occ::handle< BRepAdaptor_Surface > & Sref2,
const occ::handle< BRepAdaptor_Curve2d > & PCref2,
bool & Decroch2,
const TopAbs_Orientation Or2,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP1,
const bool RecRst1,
const bool RecP2,
const bool RecRst2,
const math_Vector & Soldep )
protectedvirtual

Method, implemented in inheritants, calculates the elements of construction of the surface (fillet or chamfer) contact edge/edge.

Reimplemented in ChFi3d_ChBuilder, ChFi3d_FilBuilder, and FilletSurf_InternalBuilder.

◆ PerformSurf() [3/4]

virtual bool ChFi3d_Builder::PerformSurf ( NCollection_Sequence< occ::handle< ChFiDS_SurfData > > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecOnS1,
const bool RecOnS2,
const math_Vector & Soldep,
int & Intf,
int & Intl )
protectedpure virtual

Method, implemented in the inheritants, calculating elements of construction of the surface (fillet or chamfer).

Implemented in ChFi3d_ChBuilder, ChFi3d_FilBuilder, and FilletSurf_InternalBuilder.

◆ PerformSurf() [4/4]

virtual void ChFi3d_Builder::PerformSurf ( NCollection_Sequence< occ::handle< ChFiDS_SurfData > > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const TopAbs_Orientation Or1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const occ::handle< BRepAdaptor_Curve2d > & PC2,
const occ::handle< BRepAdaptor_Surface > & Sref2,
const occ::handle< BRepAdaptor_Curve2d > & PCref2,
bool & Decroch2,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP,
const bool RecS,
const bool RecRst,
const math_Vector & Soldep )
protectedvirtual

Method, implemented in inheritants, calculates the elements of construction of the surface (fillet or chamfer) contact edge/face.

Reimplemented in ChFi3d_ChBuilder, ChFi3d_FilBuilder, and FilletSurf_InternalBuilder.

◆ PerformThreeCorner()

virtual void ChFi3d_Builder::PerformThreeCorner ( const int Index)
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ PerformTwoCorner()

virtual void ChFi3d_Builder::PerformTwoCorner ( const int Index)
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ PerformTwoCornerbyInter()

bool ChFi3d_Builder::PerformTwoCornerbyInter ( const int Index)

◆ RelativeAbscissa()

double ChFi3d_Builder::RelativeAbscissa ( const int IC,
const TopoDS_Vertex & V ) const

returns the relative abscissa([0.,1.]) of the vertex V on the contour of index IC.

◆ Remove()

void ChFi3d_Builder::Remove ( const TopoDS_Edge & E)

extracts from the list the contour containing edge E.

◆ Reset()

void ChFi3d_Builder::Reset ( )

Reset all results of compute and returns the algorithm in the state of the last acquisition to enable modification of contours or areas.

◆ SearchFace()

bool ChFi3d_Builder::SearchFace ( const occ::handle< ChFiDS_Spine > & Sp,
const ChFiDS_CommonPoint & Pc,
const TopoDS_Face & FRef,
TopoDS_Face & FVoi ) const
protected

◆ SetContinuity()

void ChFi3d_Builder::SetContinuity ( const GeomAbs_Shape InternalContinuity,
const double AngularTolerance )

◆ SetParams()

void ChFi3d_Builder::SetParams ( const double Tang,
const double Tesp,
const double T2d,
const double TApp3d,
const double TolApp2d,
const double Fleche )

◆ SetRegul()

virtual void ChFi3d_Builder::SetRegul ( )
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ Shape()

TopoDS_Shape ChFi3d_Builder::Shape ( ) const

if (Isdone()) makes the result. if (!Isdone())

◆ SimulData() [1/3]

bool ChFi3d_Builder::SimulData ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_ElSpine > & AdditionalGuide,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
Blend_Function & Func,
Blend_FuncInv & FInv,
const double PFirst,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const math_Vector & Soldep,
const int NbSecMin,
const bool RecOnS1 = false,
const bool RecOnS2 = false )
protected

◆ SimulData() [2/3]

bool ChFi3d_Builder::SimulData ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & HGuide,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor2d_Curve2d > & PC1,
const occ::handle< Adaptor3d_TopolTool > & I1,
bool & Decroch1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Adaptor2d_Curve2d > & PC2,
const occ::handle< Adaptor3d_TopolTool > & I2,
bool & Decroch2,
Blend_RstRstFunction & Func,
Blend_SurfCurvFuncInv & FInv1,
Blend_CurvPointFuncInv & FInvP1,
Blend_SurfCurvFuncInv & FInv2,
Blend_CurvPointFuncInv & FInvP2,
const double PFirst,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const math_Vector & Soldep,
const int NbSecMin,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP1,
const bool RecRst1,
const bool RecP2,
const bool RecRst2 )
protected

◆ SimulData() [3/3]

bool ChFi3d_Builder::SimulData ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & HGuide,
occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Adaptor2d_Curve2d > & PC2,
const occ::handle< Adaptor3d_TopolTool > & I2,
bool & Decroch,
Blend_SurfRstFunction & Func,
Blend_FuncInv & FInv,
Blend_SurfPointFuncInv & FInvP,
Blend_SurfCurvFuncInv & FInvC,
const double PFirst,
const double MaxStep,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const math_Vector & Soldep,
const int NbSecMin,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP,
const bool RecS,
const bool RecRst )
protected

◆ SimulKPart()

virtual void ChFi3d_Builder::SimulKPart ( const occ::handle< ChFiDS_SurfData > & SD) const
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ SimulSurf() [1/4]

virtual void ChFi3d_Builder::SimulSurf ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< BRepAdaptor_Curve2d > & PC1,
const occ::handle< BRepAdaptor_Surface > & Sref1,
const occ::handle< BRepAdaptor_Curve2d > & PCref1,
bool & Decroch1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const TopAbs_Orientation Or2,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP,
const bool RecS,
const bool RecRst,
const math_Vector & Soldep )
protectedvirtual

Reimplemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ SimulSurf() [2/4]

virtual void ChFi3d_Builder::SimulSurf ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< BRepAdaptor_Curve2d > & PC1,
const occ::handle< BRepAdaptor_Surface > & Sref1,
const occ::handle< BRepAdaptor_Curve2d > & PCref1,
bool & Decroch1,
const TopAbs_Orientation Or1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const occ::handle< BRepAdaptor_Curve2d > & PC2,
const occ::handle< BRepAdaptor_Surface > & Sref2,
const occ::handle< BRepAdaptor_Curve2d > & PCref2,
bool & Decroch2,
const TopAbs_Orientation Or2,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP1,
const bool RecRst1,
const bool RecP2,
const bool RecRst2,
const math_Vector & Soldep )
protectedvirtual

Reimplemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ SimulSurf() [3/4]

virtual bool ChFi3d_Builder::SimulSurf ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecOnS1,
const bool RecOnS2,
const math_Vector & Soldep,
int & Intf,
int & Intl )
protectedpure virtual

Implemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ SimulSurf() [4/4]

virtual void ChFi3d_Builder::SimulSurf ( occ::handle< ChFiDS_SurfData > & Data,
const occ::handle< ChFiDS_ElSpine > & Guide,
const occ::handle< ChFiDS_Spine > & Spine,
const int Choix,
const occ::handle< BRepAdaptor_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const TopAbs_Orientation Or1,
const occ::handle< BRepAdaptor_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
const occ::handle< BRepAdaptor_Curve2d > & PC2,
const occ::handle< BRepAdaptor_Surface > & Sref2,
const occ::handle< BRepAdaptor_Curve2d > & PCref2,
bool & Decroch2,
const double Fleche,
const double TolGuide,
double & First,
double & Last,
const bool Inside,
const bool Appro,
const bool Forward,
const bool RecP,
const bool RecS,
const bool RecRst,
const math_Vector & Soldep )
protectedvirtual

Reimplemented in ChFi3d_ChBuilder, and ChFi3d_FilBuilder.

◆ SplitKPart()

bool ChFi3d_Builder::SplitKPart ( const occ::handle< ChFiDS_SurfData > & Data,
NCollection_Sequence< occ::handle< ChFiDS_SurfData > > & SetData,
const occ::handle< ChFiDS_Spine > & Spine,
const int Iedge,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_TopolTool > & I1,
const occ::handle< Adaptor3d_Surface > & S2,
const occ::handle< Adaptor3d_TopolTool > & I2,
bool & Intf,
bool & Intl )

Method, implemented in the inheritants, calculates the elements of construction of the surface (fillet or chamfer).

◆ StoreData()

bool ChFi3d_Builder::StoreData ( occ::handle< ChFiDS_SurfData > & Data,
const AppBlend_Approx & Approx,
const occ::handle< BRepBlend_Line > & Lin,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_Surface > & S2,
const TopAbs_Orientation Or1,
const bool Gd1,
const bool Gd2,
const bool Gf1,
const bool Gf2,
const bool Reversed = false )
protected

◆ StripeOrientations()

bool ChFi3d_Builder::StripeOrientations ( const occ::handle< ChFiDS_Spine > & Sp,
TopAbs_Orientation & Or1,
TopAbs_Orientation & Or2,
int & ChoixConge ) const
protected

◆ StripeStatus()

ChFiDS_ErrorStatus ChFi3d_Builder::StripeStatus ( const int IC) const

for the stripe IC ,indication on the cause of failure WalkingFailure,TwistedSurface,Error, Ok

◆ Trunc()

void ChFi3d_Builder::Trunc ( const occ::handle< ChFiDS_SurfData > & SD,
const occ::handle< ChFiDS_Spine > & Spine,
const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_Surface > & S2,
const int iedge,
const bool isfirst,
const int cntlFiOnS )
protected

◆ Value()

occ::handle< ChFiDS_Spine > ChFi3d_Builder::Value ( const int I) const

gives the n'th set of edges (contour) if I >NbElements()

Field Documentation

◆ badstripes

NCollection_List<occ::handle<ChFiDS_Stripe> > ChFi3d_Builder::badstripes
protected

◆ badvertices

NCollection_List<TopoDS_Shape> ChFi3d_Builder::badvertices
protected

◆ done

bool ChFi3d_Builder::done
protected

◆ fleche

double ChFi3d_Builder::fleche
protected

◆ hasresult

bool ChFi3d_Builder::hasresult
protected

◆ myConti

GeomAbs_Shape ChFi3d_Builder::myConti
protected

◆ myCoup

occ::handle<TopOpeBRepBuild_HBuilder> ChFi3d_Builder::myCoup
protected

◆ myDS

occ::handle<TopOpeBRepDS_HDataStructure> ChFi3d_Builder::myDS
protected

◆ myEdgeFirstFace

NCollection_DataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher> ChFi3d_Builder::myEdgeFirstFace
protected

◆ myEFMap

ChFiDS_Map ChFi3d_Builder::myEFMap
protected

◆ myEShMap

ChFiDS_Map ChFi3d_Builder::myEShMap
protected

◆ myESoMap

ChFiDS_Map ChFi3d_Builder::myESoMap
protected

◆ myEVIMap

◆ myListStripe

NCollection_List<occ::handle<ChFiDS_Stripe> > ChFi3d_Builder::myListStripe
protected

◆ myRegul

NCollection_List<ChFiDS_Regul> ChFi3d_Builder::myRegul
protected

◆ myVDataMap

ChFiDS_StripeMap ChFi3d_Builder::myVDataMap
protected

◆ myVEMap

ChFiDS_Map ChFi3d_Builder::myVEMap
protected

◆ myVFMap

ChFiDS_Map ChFi3d_Builder::myVFMap
protected

◆ tol2d

double ChFi3d_Builder::tol2d
protected

◆ tolapp2d

double ChFi3d_Builder::tolapp2d
protected

◆ tolapp3d

double ChFi3d_Builder::tolapp3d
protected

◆ tolappangle

double ChFi3d_Builder::tolappangle
protected

◆ tolesp

double ChFi3d_Builder::tolesp
protected

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