b311480e |
1 | -- Created on: 1995-09-21 |
2 | -- Created by: Philippe GIRODENGO |
3 | -- Copyright (c) 1995-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | |
23 | package StlMesh |
24 | |
25 | ---Purpose: Implements a basic mesh data-structure for the |
26 | -- needs of the application fast prototyping. |
27 | -- |
28 | |
29 | uses |
30 | |
31 | MMgt, |
32 | TCollection, |
33 | TColStd, |
34 | gp, |
35 | TColgp |
36 | |
37 | is |
38 | |
39 | class Mesh; |
40 | ---Purpose: Mesh definition. The mesh contains one or several |
41 | -- domains. Each mesh domain contains a set of |
42 | -- triangles. Each domain can have its own deflection |
43 | -- value. |
44 | |
45 | |
46 | class MeshExplorer; |
47 | ---Purpose: Provides facilities to explore the triangles of |
48 | -- each mesh domain. |
49 | |
50 | |
51 | class MeshDomain; |
52 | ---Purpose: Set of triangles defined with three vertices and a |
53 | -- given orientation. Internal class used to classify |
54 | -- the triangles of each domain. |
55 | |
56 | |
57 | class MeshTriangle; |
58 | ---Purpose: triangle defined with three vertices and a given |
59 | -- orientation |
60 | |
61 | |
62 | |
63 | class SequenceOfMeshDomain instantiates |
64 | Sequence from TCollection (MeshDomain from StlMesh); |
65 | |
66 | |
67 | |
68 | class SequenceOfMeshTriangle instantiates |
69 | Sequence from TCollection (MeshTriangle from StlMesh); |
70 | |
71 | |
72 | class SequenceOfMesh instantiates |
73 | Sequence from TCollection (Mesh from StlMesh); |
74 | ---Purpose: Sequence of meshes |
75 | |
76 | Merge (mesh1, mesh2 : in Mesh) returns Mesh; |
77 | ---Purpose: Make a merge of two Mesh and returns a new Mesh. |
78 | -- Very useful if you want to merge partMesh and CheckSurfaceMesh |
79 | -- for example |
80 | |
81 | end StlMesh; |