b311480e |
1 | -- Created on: 1995-08-25 |
2 | -- Created by: Remi LEQUETTE |
3 | -- Copyright (c) 1995-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 | |
17 | class HSurface from GeomAdaptor inherits GHSurface from GeomAdaptor |
18 | |
19 | ---Purpose: An interface between the services provided by any |
20 | -- surface from the package Geom and those required |
21 | -- of the surface by algorithms which use it. |
22 | |
23 | uses |
24 | Surface from Geom, |
25 | Surface from GeomAdaptor |
26 | |
27 | raises |
28 | ConstructionError from Standard |
29 | |
30 | is |
31 | |
6e33d3ce |
32 | Create returns HSurface from GeomAdaptor; |
7fd59977 |
33 | ---C++: inline |
34 | |
6e33d3ce |
35 | Create( AS : Surface from GeomAdaptor) returns HSurface from GeomAdaptor; |
7fd59977 |
36 | ---C++: inline |
37 | |
6e33d3ce |
38 | Create( S : Surface from Geom) returns HSurface from GeomAdaptor; |
7fd59977 |
39 | ---C++: inline |
40 | |
41 | Create( S : Surface from Geom; UFirst,ULast,VFirst,VLast : Real; |
42 | TolU : Real = 0.0; |
43 | TolV : Real = 0.0) |
6e33d3ce |
44 | returns HSurface from GeomAdaptor |
7fd59977 |
45 | raises ConstructionError from Standard; |
46 | ---Purpose: ConstructionError is raised if UFirst>ULast or VFirst>VLast |
47 | ---C++: inline |
48 | |
49 | end HSurface; |