|
Open CASCADE Technology
6.7.1
|
This class is private. It is used by the class Builder
from FilletSurf. It computes geometric information about fillets.
More...
#include <FilletSurf_InternalBuilder.hxx>

Public Member Functions | |
| 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 <br> 0 : no problem | |
| void | Perform () |
| Standard_Boolean | Done () const |
| Standard_Integer | NbSurface () const |
| gives the number of NUBS surfaces of the Fillet. More... | |
| const Handle_Geom_Surface & | SurfaceFillet (const Standard_Integer Index) const |
| gives the NUBS surface of index Index. More... | |
| Standard_Real | TolApp3d (const Standard_Integer Index) const |
| gives the 3d tolerance reached during approximation of the surface of index Index More... | |
| const TopoDS_Face & | SupportFace1 (const Standard_Integer Index) const |
| gives the first support face relative to SurfaceFillet(Index); More... | |
| const TopoDS_Face & | SupportFace2 (const Standard_Integer Index) const |
| gives the second support face relative to SurfaceFillet(Index); More... | |
| const Handle_Geom_Curve & | CurveOnFace1 (const Standard_Integer Index) const |
| gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index) More... | |
| const Handle_Geom_Curve & | CurveOnFace2 (const Standard_Integer Index) const |
| gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index) More... | |
| const Handle_Geom2d_Curve & | PCurveOnFace1 (const Standard_Integer Index) const |
| gives the PCurve associated to CurvOnSup1(Index) on the support face More... | |
| const Handle_Geom2d_Curve & | PCurve1OnFillet (const Standard_Integer Index) const |
| gives the PCurve associated to CurveOnFace1(Index) on the Fillet More... | |
| const Handle_Geom2d_Curve & | PCurveOnFace2 (const Standard_Integer Index) const |
| gives the PCurve associated to CurveOnSup2(Index) on the support face More... | |
| const Handle_Geom2d_Curve & | PCurve2OnFillet (const Standard_Integer Index) const |
| gives the PCurve associated to CurveOnSup2(Index) on the fillet More... | |
| Standard_Real | FirstParameter () const |
gives the parameter of the fillet on the first edge. <br> | |
| Standard_Real | LastParameter () const |
gives the parameter of the fillet on the last edge <br> | |
| 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 |
Public Member Functions inherited from ChFi3d_FilBuilder | |
| ChFi3d_FilBuilder (const TopoDS_Shape &S, const ChFi3d_FilletShape FShape=ChFi3d_Rational, const Standard_Real Ta=1.0e-2) | |
| void | SetFilletShape (const ChFi3d_FilletShape FShape) |
| Sets the type of fillet surface. More... | |
| ChFi3d_FilletShape | GetFilletShape () const |
| Returns the type of fillet surface. More... | |
| void | Add (const TopoDS_Edge &E) |
initialisation of a contour with the first edge <br>
(the following are found by propagation). <br>
Attention, you need to start with SetRadius. <br>
| |
| void | Add (const Standard_Real Radius, const TopoDS_Edge &E) |
initialisation of the constant vector the corresponding 1st edge. <br> | |
| void | SetRadius (const Handle< Law_Function > &C, const Standard_Integer IC, const Standard_Integer IinC) |
| Set the radius of the contour of index IC. More... | |
| Standard_Boolean | IsConstant (const Standard_Integer IC) |
| Returns true the contour is flaged as edge constant. More... | |
| Standard_Real | Radius (const Standard_Integer IC) |
| Returns the vector if the contour is flagged as edge constant. More... | |
| void | ResetContour (const Standard_Integer IC) |
| Reset all vectors of contour IC. More... | |
| void | SetRadius (const Standard_Real Radius, const Standard_Integer IC, const TopoDS_Edge &E) |
| Set a constant on edge E of the contour of index IC. Since then E is flagged as constant. More... | |
| void | UnSet (const Standard_Integer IC, const TopoDS_Edge &E) |
| Extracts the flag constant and the vector of edge E. More... | |
| void | SetRadius (const Standard_Real Radius, const Standard_Integer IC, const TopoDS_Vertex &V) |
| Set a vector on vertex V of the contour of index IC. More... | |
| void | UnSet (const Standard_Integer IC, const TopoDS_Vertex &V) |
| Extracts the vector of the vertex V. More... | |
| void | SetRadius (const gp_XY &UandR, const Standard_Integer IC, const Standard_Integer IinC) |
| Set a vertex on the point of parametre U in the edge IinC of the contour of index IC More... | |
| Standard_Boolean | IsConstant (const Standard_Integer IC, const TopoDS_Edge &E) |
| Returns true E is flagged as edge constant. More... | |
| Standard_Real | Radius (const Standard_Integer IC, const TopoDS_Edge &E) |
| Returns the vector if E is flagged as edge constant. More... | |
| Standard_Boolean | GetBounds (const Standard_Integer IC, const TopoDS_Edge &E, Standard_Real &First, Standard_Real &Last) |
| Returns in First and Last les extremities of the part of variable vector framing E, returns False if E is flagged as edge constant. More... | |
| Handle_Law_Function | GetLaw (const Standard_Integer IC, const TopoDS_Edge &E) |
| Returns the rule of elementary evolution of the part to variable vector framing E, returns a rule zero if E is flagged as edge constant. More... | |
| void | SetLaw (const Standard_Integer IC, const TopoDS_Edge &E, const Handle< Law_Function > &L) |
| Sets the rule of elementary evolution of the part to variable vector framing E. More... | |
| void | Simulate (const Standard_Integer IC) |
| Standard_Integer | NbSurf (const Standard_Integer IC) const |
| Handle_ChFiDS_SecHArray1 | Sect (const Standard_Integer IC, const Standard_Integer IS) const |
Public Member Functions inherited from ChFi3d_Builder | |
| virtual void | Delete () |
| virtual | ~ChFi3d_Builder () |
| void | SetParams (const Standard_Real Tang, const Standard_Real Tesp, const Standard_Real T2d, const Standard_Real TApp3d, const Standard_Real TolApp2d, const Standard_Real Fleche) |
| void | SetContinuity (const GeomAbs_Shape InternalContinuity, const Standard_Real AngularTolerance) |
| void | Remove (const TopoDS_Edge &E) |
extracts from the list the contour containing edge E. <br> | |
| Standard_Integer | Contains (const TopoDS_Edge &E) const |
| gives the number of the contour containing E or 0 if E does not belong to any contour. More... | |
| Standard_Integer | Contains (const TopoDS_Edge &E, Standard_Integer &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 More... | |
| Standard_Integer | NbElements () const |
| gives the number of disjoint contours on which the fillets are calculated More... | |
| Handle_ChFiDS_Spine | Value (const Standard_Integer I) const |
| gives the n'th set of edges (contour) //! if I >NbElements() More... | |
| Standard_Real | Length (const Standard_Integer IC) const |
| returns the length of the contour of index IC. More... | |
| TopoDS_Vertex | FirstVertex (const Standard_Integer IC) const |
| returns the First vertex V of the contour of index IC. More... | |
| TopoDS_Vertex | LastVertex (const Standard_Integer IC) const |
| returns the Last vertex V of the contour of index IC. More... | |
| Standard_Real | Abscissa (const Standard_Integer IC, const TopoDS_Vertex &V) const |
| returns the abscissa of the vertex V on the contour of index IC. More... | |
| Standard_Real | RelativeAbscissa (const Standard_Integer IC, const TopoDS_Vertex &V) const |
| returns the relative abscissa([0.,1.]) of the vertex V on the contour of index IC. More... | |
| Standard_Boolean | ClosedAndTangent (const Standard_Integer IC) const |
| returns true if the contour of index IC is closed an tangent. More... | |
| Standard_Boolean | Closed (const Standard_Integer IC) const |
| returns true if the contour of index IC is closed More... | |
| void | Compute () |
| general calculation of geometry on all edges, topologic reconstruction. More... | |
| Standard_Boolean | IsDone () const |
| returns True if the computation is success More... | |
| TopoDS_Shape | Shape () const |
| if (Isdone()) makes the result. //! if (!Isdone()) More... | |
| const TopTools_ListOfShape & | Generated (const TopoDS_Shape &EouV) |
| Advanced function for the history More... | |
| Standard_Integer | NbFaultyContours () const |
| Returns the number of contours on which the calculation has failed. More... | |
| Standard_Integer | FaultyContour (const Standard_Integer I) const |
| Returns the number of I'th contour on which the calculation has failed. More... | |
| Standard_Integer | NbComputedSurfaces (const Standard_Integer IC) const |
| Returns the number of surfaces calculated on the contour IC. More... | |
| Handle_Geom_Surface | ComputedSurface (const Standard_Integer IC, const Standard_Integer IS) const |
| Returns the IS'th surface calculated on the contour IC. More... | |
| Standard_Integer | NbFaultyVertices () const |
| Returns the number of vertices on which the calculation has failed. More... | |
| TopoDS_Vertex | FaultyVertex (const Standard_Integer IV) const |
| Returns the IV'th vertex on which the calculation has failed. More... | |
| Standard_Boolean | HasResult () const |
| returns True if a partial result has been calculated More... | |
| TopoDS_Shape | BadShape () const |
| if (HasResult()) returns partial result //! if (!HasResult()) More... | |
| ChFiDS_ErrorStatus | StripeStatus (const Standard_Integer IC) const |
| for the stripe IC ,indication on the cause of failure WalkingFailure,TwistedSurface,Error, Ok More... | |
| void | Reset () |
| Reset all results of compute and returns the algorythm in the state of the last acquisition to enable modification of contours or areas. More... | |
| Handle_TopOpeBRepBuild_HBuilder | Builder () const |
| Returns the Builder of topologic operations. More... | |
| Standard_Boolean | SplitKPart (const Handle< ChFiDS_SurfData > &Data, ChFiDS_SequenceOfSurfData &SetData, const Handle< ChFiDS_Spine > &Spine, const Standard_Integer Iedge, const Handle< Adaptor3d_HSurface > &S1, const Handle< Adaptor3d_TopolTool > &I1, const Handle< Adaptor3d_HSurface > &S2, const Handle< Adaptor3d_TopolTool > &I2, Standard_Boolean &Intf, Standard_Boolean &Intl) |
| Method, implemented in the inheritants, calculates the elements of construction of the surface (fillet or chamfer). More... | |
| Standard_Integer | PerformTwoCornerbyInter (const Standard_Integer Index) |
Additional Inherited Members | |
Protected Attributes inherited from ChFi3d_Builder | |
| Standard_Real | tolappangle |
| Standard_Real | tolesp |
| Standard_Real | tol2d |
| Standard_Real | tolapp3d |
| Standard_Real | tolapp2d |
| Standard_Real | fleche |
| GeomAbs_Shape | myConti |
| ChFiDS_Map | myEFMap |
| ChFiDS_Map | myESoMap |
| ChFiDS_Map | myEShMap |
| ChFiDS_Map | myVFMap |
| ChFiDS_Map | myVEMap |
| Handle_TopOpeBRepDS_HDataStructure | myDS |
| Handle_TopOpeBRepBuild_HBuilder | myCoup |
| ChFiDS_ListOfStripe | myListStripe |
| ChFiDS_StripeMap | myVDataMap |
| ChFiDS_Regularities | myRegul |
| ChFiDS_ListOfStripe | badstripes |
| TopTools_ListOfShape | badvertices |
| TopTools_DataMapOfShapeListOfInteger | myEVIMap |
| Standard_Boolean | done |
| Standard_Boolean | hasresult |
This class is private. It is used by the class Builder
from FilletSurf. It computes geometric information about fillets.
| FilletSurf_InternalBuilder::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 FilletSurf_InternalBuilder::Add | ( | const TopTools_ListOfShape & | E, |
| const Standard_Real | R | ||
| ) |
Initializes the contour with a list of Edges <br>
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
| const Handle_Geom_Curve& FilletSurf_InternalBuilder::CurveOnFace1 | ( | const Standard_Integer | Index | ) | const |
gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
| const Handle_Geom_Curve& FilletSurf_InternalBuilder::CurveOnFace2 | ( | const Standard_Integer | Index | ) | const |
gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
| Standard_Boolean FilletSurf_InternalBuilder::Done | ( | ) | const |
| FilletSurf_StatusType FilletSurf_InternalBuilder::EndSectionStatus | ( | ) | const |
| Standard_Real FilletSurf_InternalBuilder::FirstParameter | ( | ) | const |
gives the parameter of the fillet on the first edge. <br>
| Standard_Real FilletSurf_InternalBuilder::LastParameter | ( | ) | const |
gives the parameter of the fillet on the last edge <br>
| Standard_Integer FilletSurf_InternalBuilder::NbSection | ( | const Standard_Integer | IndexSurf | ) | const |
| Standard_Integer FilletSurf_InternalBuilder::NbSurface | ( | ) | const |
gives the number of NUBS surfaces of the Fillet.
| const Handle_Geom2d_Curve& FilletSurf_InternalBuilder::PCurve1OnFillet | ( | const Standard_Integer | Index | ) | const |
gives the PCurve associated to CurveOnFace1(Index) on the Fillet
| const Handle_Geom2d_Curve& FilletSurf_InternalBuilder::PCurve2OnFillet | ( | const Standard_Integer | Index | ) | const |
gives the PCurve associated to CurveOnSup2(Index) on the fillet
| const Handle_Geom2d_Curve& FilletSurf_InternalBuilder::PCurveOnFace1 | ( | const Standard_Integer | Index | ) | const |
gives the PCurve associated to CurvOnSup1(Index) on the support face
| const Handle_Geom2d_Curve& FilletSurf_InternalBuilder::PCurveOnFace2 | ( | const Standard_Integer | Index | ) | const |
gives the PCurve associated to CurveOnSup2(Index) on the support face
| void FilletSurf_InternalBuilder::Perform | ( | ) |
|
protectedvirtual |
This method calculates the elements of construction of the <br>
fillet (constant or evolutive). <br>
Reimplemented from ChFi3d_FilBuilder.
|
protectedvirtual |
Method, implemented in inheritants, calculates
the elements of construction of the surface (fillet
or chamfer) contact edge/face.
Reimplemented from ChFi3d_FilBuilder.
|
protectedvirtual |
Method, implemented in inheritants, calculates
the elements of construction of the surface (fillet
or chamfer) contact edge/face.
Reimplemented from ChFi3d_FilBuilder.
Method, implemented in inheritants, calculates
the elements of construction of the surface (fillet
or chamfer) contact edge/edge.
Reimplemented from ChFi3d_FilBuilder.
| void FilletSurf_InternalBuilder::Section | ( | const Standard_Integer | IndexSurf, |
| const Standard_Integer | IndexSec, | ||
| Handle< Geom_TrimmedCurve > & | Circ | ||
| ) | const |
| void FilletSurf_InternalBuilder::Simulate | ( | ) |
| FilletSurf_StatusType FilletSurf_InternalBuilder::StartSectionStatus | ( | ) | const |
| const TopoDS_Face& FilletSurf_InternalBuilder::SupportFace1 | ( | const Standard_Integer | Index | ) | const |
gives the first support face relative to SurfaceFillet(Index);
| const TopoDS_Face& FilletSurf_InternalBuilder::SupportFace2 | ( | const Standard_Integer | Index | ) | const |
gives the second support face relative to SurfaceFillet(Index);
| const Handle_Geom_Surface& FilletSurf_InternalBuilder::SurfaceFillet | ( | const Standard_Integer | Index | ) | const |
gives the NUBS surface of index Index.
| Standard_Real FilletSurf_InternalBuilder::TolApp3d | ( | const Standard_Integer | Index | ) | const |
gives the 3d tolerance reached during approximation
of the surface of index Index
1.8.5