summaryrefslogtreecommitdiff
path: root/src/GProp/GProp_CGProps.cdl
blob: 6b75d964f071ee764bbff141b7f27c3b2f71fd05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-- File:	CGProps.cdl
-- Created:	Thu Aug 27 10:09:41 1992
-- Created:	Thu Apr 11 17:30:05 1991
-- Author:	Michel CHAUVAT
--              Jean-Claude Vauthier January 1992, September 1992
---Copyright:	Matra Datavision 1992



generic class CGProps  from GProp (Curve     as any;
    	    	    	    	   Tool      as any -- as CurveTool(Curve)
    	    	    	    	  )

inherits GProps from GProp

	--- Purpose  : 
	--  Computes the  global properties of bounded curves 
	--  in 3D space. The curve must have at least a continuity C1. 
	--  It can be a curve as defined in the template CurveTool from 
	--  package GProp. This template gives the minimum of methods 
	--  required to evaluate the global properties of a curve 3D with  
	--  the algorithmes of GProp.

uses  Pnt   from gp
       
is

    Create returns CGProps;
  
    Create (C : Curve; CLocation : Pnt)  returns CGProps;

    SetLocation(me : in out;CLocation : Pnt) ;

    Perform(me : in out; C : Curve);

end CGProps;