blob: 5539634abbdadfe8b41e92a60225edb43072d5d4 (
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
73
74
75
76
77
78
79
80
81
82
83
|
-- File: BRepMesh_DiscretRoot.cdl
-- Created: Thu Apr 10 09:57:55 2008
-- Author: Peter KURNEV <pkv@irinox>
--
---Copyright: Matra Datavision 2008
deferred class DiscretRoot from BRepMesh
inherits Transient from Standard
---Purpose:
-- This is a common interface for meshing algorithms
-- instantiated by Mesh Factory and implemented by plugins.
uses
Shape from TopoDS
--raises
is
Initialize
returns DiscretRoot from BRepMesh;
SetDeflection ( me : mutable;
theDeflection : Real from Standard);
---Purpose:
-- Setup linear deflection.
---C++: alias "Standard_EXPORT virtual ~BRepMesh_DiscretRoot();"
Deflection (me)
returns Real from Standard;
---Purpose:
-- Returns linear deflection.
SetAngle ( me : mutable;
theAngle : Real from Standard);
---Purpose:
-- Setup angular deflection.
Angle (me)
returns Real from Standard;
---Purpose:
-- Returns angular deflection.
SetShape ( me : mutable;
theShape : Shape from TopoDS);
---Purpose:
-- Set the shape to triangulate.
Shape (me)
returns Shape from TopoDS;
---C++: return const &
Perform (me : mutable)
is deferred;
---Purpose:
-- Compute triangulation for set shape.
IsDone (me)
returns Boolean from Standard;
---Purpose:
-- Returns true if triangualtion was performed and has success.
--
-- Protected methods
--
SetDone (me : mutable)
is protected;
SetNotDone (me : mutable)
is protected;
Init (me : mutable)
is virtual protected;
fields
myDeflection : Real from Standard is protected;
myAngle : Real from Standard is protected;
myShape : Shape from TopoDS is protected;
myIsDone : Boolean from Standard is protected;
end DiscretRoot;
|