b311480e |
1 | -- Created on: 1993-01-11 |
2 | -- Created by: CKY / Contract Toubro-Larsen ( Arun MENON ) |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
7fd59977 |
5 | -- |
b311480e |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
7fd59977 |
10 | -- |
b311480e |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
7fd59977 |
13 | -- |
b311480e |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | class Node from IGESAppli inherits IGESEntity |
23 | |
24 | ---Purpose: defines Node, Type <134> Form <0> |
25 | -- in package IGESAppli |
26 | -- Geometric point used in the definition of a finite element. |
27 | |
28 | uses |
29 | |
30 | XYZ from gp, |
31 | Pnt from gp, |
32 | TransfEntity from IGESData, |
33 | TransformationMatrix from IGESGeom |
34 | |
35 | is |
36 | |
37 | Create returns mutable Node; |
38 | |
39 | -- Specific Methods pertaining to the class |
40 | |
41 | Init (me : mutable; |
42 | aCoord : XYZ; |
43 | aCoordSystem : TransformationMatrix); |
44 | ---Purpose : This method is used to set the fields of the class Node |
45 | -- - aCoord : Nodal Coordinates |
46 | -- - aCoordSystem : the Nodal Displacement Coordinate |
47 | -- System Entity (default 0 is Global |
48 | -- Cartesian Coordinate system) |
49 | |
50 | Coord (me) returns Pnt; |
51 | ---Purpose : returns the nodal coordinates |
52 | |
53 | System (me) returns TransfEntity; |
54 | ---Purpose : returns TransfEntity if a Nodal Displacement Coordinate |
55 | -- System Entity is defined |
56 | -- else (for Global Cartesien) returns Null Handle |
57 | |
58 | SystemType (me) returns Integer; |
59 | ---Purpose : Computes & returns the Type of Coordinate System : |
60 | -- 0 GlobalCartesian, 1 Cartesian, 2 Cylindrical, 3 Spherical |
61 | |
62 | TransformedNodalCoord (me) returns Pnt; |
63 | ---Purpose : returns the Nodal coordinates after transformation |
64 | |
65 | fields |
66 | |
67 | -- |
68 | -- Class : IGESAppli_Node |
69 | -- |
70 | -- Purpose : Declaration of variables specific to the definition |
71 | -- of the Class Node. |
72 | -- |
73 | -- Reminder : A Node instance is defined by : |
74 | -- - Nodal Coordinates |
75 | -- - the Nodal Displacement Coordinate System Entity |
76 | |
77 | theCoord : XYZ; |
78 | theSystem : TransformationMatrix; |
79 | |
80 | end Node; |