0022627: Change OCCT memory management defaults
[occt.git] / src / IGESSolid / IGESSolid_PlaneSurface.cdl
CommitLineData
7fd59977 1--
2-- File : PlaneSurface.cdl
3-- Created : Sat 9 Jan 1993
4-- Author : CKY / Contract Toubro-Larsen ( SIVA )
5--
6---Copyright : MATRA-DATAVISION 1993
7--
8
9class PlaneSurface from IGESSolid inherits IGESEntity
10
11 ---Purpose: defines PlaneSurface, Type <190> Form Number <0,1>
12 -- in package IGESSolid
13 -- A plane surface entity is defined by a point on the
14 -- surface and a normal to it.
15
16uses
17
18 Point from IGESGeom,
19 Direction from IGESGeom
20
21is
22
23 Create returns mutable PlaneSurface;
24
25 -- Specific Methods pertaining to the class
26
27 Init (me : mutable;
28 aLocation : Point;
29 aNormal : Direction;
30 refdir : Direction);
31 ---Purpose : This method is used to set the fields of the class
32 -- PlaneSurface
33 -- - aLocation : the point on the surface
34 -- - aNormal : the surface normal direction
35 -- - refdir : the reference direction (default NULL) for
36 -- unparameterised curves
37
38 LocationPoint(me) returns Point;
39 ---Purpose : returns the point on the surface
40
41 Normal(me) returns Direction;
42 ---Purpose : returns the normal to the surface
43
44 ReferenceDir(me) returns Direction;
45 ---Purpose : returns the reference direction (for parameterised curve)
46 -- returns NULL for unparameterised curve
47
48 IsParametrised(me) returns Boolean;
49 ---Purpose : returns True if parameterised, else False
50
51fields
52
53--
54-- Class : IGESSolid_PlaneSurface
55--
56-- Purpose : Declaration of variables specific to the definition
57-- of the Class PlaneSurface.
58--
59-- Reminder : A PlaneSurface instance is defined by :
60-- A plane surface entity is defined by a point(Location) on the
61-- surface and a normal(Normal) to it. In case of parameterised
62-- surface a reference direction (RefDir) is also given.
63--
64
65 theLocationPoint : Point;
66 -- the point on the surface
67
68 theNormal : Direction;
69 -- the normal to the surface
70
71 theRefDir : Direction;
72 -- the reference direction of the surface
73
74end PlaneSurface;