0024624: Lost word in license statement in source files
[occt.git] / src / Adaptor3d / Adaptor3d_GenHSurface.cdl
CommitLineData
b311480e 1-- Created on: 1994-02-14
2-- Created by: model
3-- Copyright (c) 1994-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17generic class GenHSurface from Adaptor3d
18 (TheSurface as Surface from Adaptor3d)
19
20inherits HSurface from Adaptor3d
21
22 ---Purpose: Generic class used to create a surface manipulated
23 -- with Handle from a surface described by the class Surface.
24
25uses
26
27 Surface from Adaptor3d
28
29
30raises
31
32 OutOfRange from Standard,
33 NoSuchObject from Standard,
34 DomainError from Standard
35
36
37is
38
39 Create
40
41 ---Purpose: Creates an empty GenHSurface.
42 returns mutable GenHSurface from Adaptor3d;
43
44
45 Create(S: TheSurface)
46
47 ---Purpose: Creates a GenHSurface from a Surface.
48 returns mutable GenHSurface from Adaptor3d;
49
50
51 Set(me: mutable; S: TheSurface)
52
53 ---Purpose: Sets the field of the GenHSurface.
54 is static;
55
56 --
57 -- Access to the surface
58 --
59
60 Surface(me) returns Surface from Adaptor3d;
61 ---Purpose: Returns a reference to the Surface inside the HSurface.
62 -- This is redefined from HSurface, cannot be inline.
63 --
64 ---C++: return const &
65
66 ChangeSurface(me : mutable)
67
68 ---Purpose: Returns the surface used to create the GenHSurface.
69 --
70 ---C++: return &
71 ---C++: inline
72
73 returns TheSurface;
74
75
76fields
77
78 mySurf: TheSurface is protected;
79
80end GenHSurface;