summaryrefslogtreecommitdiff
path: root/src/BRepMesh/BRepMesh_Triangle.cdl
blob: fadb4c40f1596b62be492156c9d943153cd9d16f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
-- File:        BRepMesh_Triangle.cdl
-- Created:     Wed Sep 22 18:11:52 1993
-- Author:      Didier PIFFAULT
--              <dpf@zerox>
---Copyright:    Matra Datavision 1993


class Triangle from BRepMesh 

  ---Purpose: 

uses    Boolean from Standard,
        Integer from Standard,
        DegreeOfFreedom from BRepMesh



is        Create  returns Triangle from BRepMesh;


          Create         (e1, e2, e3 : Integer from Standard;
                          o1, o2, o3 : Boolean from Standard;
                          canMove : DegreeOfFreedom from BRepMesh)
            returns Triangle from BRepMesh;


          Initialize     (me : in out;
                          e1, e2, e3 : Integer from Standard;
                          o1, o2, o3 : Boolean from Standard;
                          canMove : DegreeOfFreedom from BRepMesh)
            is static;


          Edges          (me;
                          e1, e2, e3 : out Integer from Standard;
                          o1, o2, o3 : out Boolean from Standard)
            is static;


          Movability     (me)
            ---C++: inline
            returns DegreeOfFreedom from BRepMesh
            is static;


          SetMovability  (me   : in out;
                          Move : DegreeOfFreedom from BRepMesh)
            is static;


          HashCode       (me;
                          Upper : Integer from Standard)
            returns Integer from Standard
            ---C++: function call
            is static;


          IsEqual        (me; Other : Triangle from BRepMesh)
            returns Boolean from Standard
            ---C++: alias operator ==
            is static;


        fields  Edge1        : Integer from Standard;
                Orientation1 : Boolean from Standard;
                Edge2        : Integer from Standard;
                Orientation2 : Boolean from Standard;
                Edge3        : Integer from Standard;
                Orientation3 : Boolean from Standard;
                myMovability : DegreeOfFreedom from BRepMesh;

end Triangle;