blob: 4ef3cc31ee5de73e7aad6763a969f7eaf3a12f53 (
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
|
--
-- File : DimensionedGeometry.cdl
-- Created : Sat 9 Jan 1993
-- Author : CKY / Contract Toubro-Larsen ( Arun MENON )
--
---Copyright : MATRA-DATAVISION 1993
--
class DimensionedGeometry from IGESDimen inherits IGESEntity
---Purpose: Defines IGES Dimensioned Geometry, Type <402> Form <13>,
-- in package IGESDimen
-- This entity has been replaced by the new form of Dimensioned
-- Geometry Associativity Entity (Type 402, Form 21) and should no
-- longer be used by preprocessors.
uses
HArray1OfIGESEntity from IGESData
raises OutOfRange
is
Create returns mutable DimensionedGeometry;
-- --specific-- --
Init(me : mutable;
nbDims : Integer;
aDimension : IGESEntity;
entities : HArray1OfIGESEntity);
-- This method sets the fields of the
-- class DimensionedGeometry
-- - nbDims : Number of dimensions ( = 1 is required)
-- - aDimension : Dimension Entity
-- - entities : List of geometry entities
NbDimensions(me) returns Integer;
---Purpose : returns the number of dimensions
NbGeometryEntities(me) returns Integer;
---Purpose : returns the number of associated geometry entities
DimensionEntity(me) returns IGESEntity;
---Purpose : returns the Dimension entity
GeometryEntity(me; Index : Integer) returns IGESEntity
raises OutOfRange;
---Purpose : returns the num'th Geometry entity
-- raises exception if Index <= 0 or Index > NbGeometryEntities()
fields
--
-- Class : IGESDimen_DimensionedGeometry
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class DimensionedGeometry.
--
-- Reminder : A DimensionedGeometry instance is defined by :
-- - The number of dimensions
-- - A Dimension Entity
-- - A single array of Geometry Entities
--
theNbDimensions : Integer;
theDimension : IGESEntity;
theGeometryEntities : HArray1OfIGESEntity;
end DimensionedGeometry;
|