0024774: Convertation of the generic classes to the non-generic. Part 8
[occt.git] / src / BRepGProp / BRepGProp_Cinert.cdl
CommitLineData
b311480e 1-- Created on: 1991-04-11
2-- Created by: Michel CHAUVAT
3-- Copyright (c) 1991-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.
b311480e 16
7fd59977 17-- Jean-Claude Vauthier January 1992, September 1992
7fd59977 18
19
424cd6bb 20class Cinert from BRepGProp inherits GProps from GProp
7fd59977 21
22 --- Purpose :
23 -- Computes the global properties of bounded curves
24 -- in 3D space. The curve must have at least a continuity C1.
424cd6bb 25 -- It can be a curve as defined in the template CurveTool from
7fd59977 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
424cd6bb 30uses Pnt from gp,
31 Curve from BRepAdaptor,
32 EdgeTool from BRepGProp
7fd59977 33
34is
35
424cd6bb 36 Create returns Cinert;
7fd59977 37
424cd6bb 38 Create (C : Curve from BRepAdaptor; CLocation : Pnt) returns Cinert;
7fd59977 39
40 SetLocation(me : in out;CLocation : Pnt) ;
41
424cd6bb 42 Perform(me : in out; C : Curve from BRepAdaptor);
7fd59977 43
424cd6bb 44end Cinert;
7fd59977 45
46