1 -- File: BRepMesh_IncrementalMesh.cdl
2 -- Created: Tue Jun 20 10:19:28 1995
3 -- Author: Stagiaire Alain JOURDAIN
5 ---Copyright: Matra Datavision 1995
8 class IncrementalMesh from BRepMesh
9 inherits DiscretRoot from BRepMesh
11 ---Purpose: Builds the mesh of a shape with respect of their
12 -- correctly triangulated parts
21 MapOfShape from TopTools,
22 IndexedDataMapOfShapeListOfShape from TopTools,
23 DataMapOfShapeReal from TopTools,
24 FastDiscret from BRepMesh,
29 returns IncrementalMesh from BRepMesh;
30 ---C++: alias "Standard_EXPORT virtual ~BRepMesh_IncrementalMesh();"
32 Create(S : Shape from TopoDS;
33 D : Real from Standard;
34 Relatif: Boolean from Standard = Standard_False;
35 Ang : Real from Standard = 0.5)
36 ---Purpose: if the boolean <Relatif> is True, the
37 -- deflection used for the polygonalisation of
38 -- each edge will be <D> * Size of Edge.
39 -- the deflection used for the faces will be the maximum
40 -- deflection of their edges.
41 returns IncrementalMesh from BRepMesh;
44 theFlag : Boolean from Standard);
47 returns Boolean from Standard;
50 is redefined protected;
56 S : Shape from TopoDS)
57 ---Purpose: Builds the incremental mesh of the shape
60 IsModified(me) returns Boolean from Standard
65 ---Purpose: Locate a correct discretisation if it exists
66 -- Set no one otherwise
71 ---Purpose: if the face is not correctly triangulated, or
72 -- if one of its edges is to be discretisated
73 -- correctly, the triangulation of this face is
82 myRelative : Boolean from Standard is protected;
83 myMap : MapOfShape from TopTools is protected;
84 myMesh : FastDiscret from BRepMesh is protected;
85 myModified : Boolean from Standard is protected;
86 mymapedge : DataMapOfShapeReal from TopTools is protected;
87 myancestors : IndexedDataMapOfShapeListOfShape from TopTools is protected;
88 mydtotale : Real from Standard is protected;
89 myBox : Box from Bnd is protected;