blob: d10574179cde8143a5c44a254bb7a6e6f0407d01 (
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
|
-- File: CartesianPoint.cdl
-- Created: Fri Dec 1 11:11:16 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class CartesianPoint from StepGeom
inherits Point from StepGeom
uses
HArray1OfReal from TColStd,
Real from Standard,
HAsciiString from TCollection
is
Create returns mutable CartesianPoint;
---Purpose: Returns a CartesianPoint
Init (me : mutable;
aName : mutable HAsciiString from TCollection) is redefined;
Init (me : mutable;
aName : mutable HAsciiString from TCollection;
aCoordinates : mutable HArray1OfReal from TColStd) is virtual;
Init2D (me : mutable;
aName : mutable HAsciiString from TCollection;
X,Y : Real);
Init3D (me : mutable;
aName : mutable HAsciiString from TCollection;
X,Y,Z : Real);
-- Specific Methods for Field Data Access --
SetCoordinates(me : mutable; aCoordinates : mutable HArray1OfReal);
Coordinates (me) returns mutable HArray1OfReal;
CoordinatesValue (me; num : Integer) returns Real;
NbCoordinates (me) returns Integer;
fields
nbcoord : Integer; -- optimised formula
coords : Real[3];
-- coordinates : HArray1OfReal from TColStd;
end CartesianPoint;
|