Integration of OCCT 6.5.0 from SVN
[occt.git] / src / PPoly / PPoly_PolygonOnTriangulation.cdl
CommitLineData
7fd59977 1-- File: PPoly_PolygonOnTriangulation.cdl
2-- Created: Wed Jun 5 16:56:57 1996
3-- Author: Mister rmi
4-- <rmi@pronox.paris1.matra-dtv.fr>
5---Copyright: Matra Datavision 1996
6
7
8class PolygonOnTriangulation from PPoly inherits Persistent from Standard
9
10 ---Purpose: This class represents a 3d Polygon based on
11 -- indices of triangulation nodes.
12 --
13 -- This polygon may also have a parametric
14 -- representation.
15
16
17uses HArray1OfInteger from PColStd,
18 HArray1OfReal from PColStd
19
20raises NullObject from Standard
21
22is
23
24 Create returns mutable PolygonOnTriangulation from PPoly;
25
26 Create(Nodes : HArray1OfInteger from PColStd;
27 Defl : Real from Standard)
28 returns mutable PolygonOnTriangulation from PPoly;
29 ---Purpose: Defaults with allocation of nodes.
30
31 Create(Nodes : HArray1OfInteger from PColStd;
32 Defl : Real from Standard;
33 Parameters : HArray1OfReal from PColStd)
34 returns mutable PolygonOnTriangulation from PPoly;
35 ---Purpose: Defaults with allocation of nodes.
36
37 Deflection(me) returns Real;
38
39 Deflection(me : mutable; D : Real);
40
41
42 NbNodes(me) returns Integer;
43
44 Nodes(me) returns HArray1OfInteger from PColStd;
45 ---Purpose: Reference on the 3d nodes indices.
46
47 Nodes(me : mutable; Nodes : HArray1OfInteger from PColStd);
48
49 HasParameters(me) returns Boolean from Standard;
50
51 Parameters(me) returns HArray1OfReal from PColStd;
52 ---Purpose: Returns the parameters values.
53
54 Parameters(me : mutable; Param : HArray1OfReal from PColStd);
55
56
57fields
58
59 myDeflection : Real from Standard;
60 myNodes : HArray1OfInteger from PColStd;
61 myParameters : HArray1OfReal from PColStd;
62 -- myParameters is Optional (pointer can be null)
63
64end PolygonOnTriangulation;