0024023: Revamp the OCCT Handle -- general
[occt.git] / src / BRepGProp / BRepGProp_Cinert.cdl
1 -- Created on: 1991-04-11
2 -- Created by: Michel CHAUVAT
3 -- Copyright (c) 1991-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 --              Jean-Claude Vauthier January 1992, September 1992
18
19
20 class Cinert from BRepGProp inherits GProps from GProp
21
22         --- Purpose  : 
23         --  Computes the  global properties of bounded curves 
24         --  in 3D space. The curve must have at least a continuity C1. 
25         --  It can be a curve as defined in the template CurveTool from
26         --  package GProp. This template gives the minimum of methods 
27         --  required to evaluate the global properties of a curve 3D with  
28         --  the algorithmes of GProp.
29
30 uses  Pnt      from gp,
31       Curve    from BRepAdaptor,
32       EdgeTool from BRepGProp
33        
34 is
35
36     Create returns Cinert;
37   
38     Create (C : Curve from BRepAdaptor; CLocation : Pnt)  returns Cinert;
39
40     SetLocation(me : in out;CLocation : Pnt) ;
41
42     Perform(me : in out; C : Curve from BRepAdaptor);
43
44 end Cinert;
45
46