1 -- File: GProp_VelGProps.cdl
2 -- Created: Wed Dec 2 16:14:27 1992
3 -- Author: Isabelle GRIGNON
5 ---Copyright: Matra Datavision 1992
8 class VelGProps from GProp inherits GProps
11 -- Computes the global properties of a geometric solid
12 -- (3D closed region of space)
13 -- The solid can be elementary(definition in the gp package)
26 Create returns VelGProps;
29 Create (S : Cylinder; Alpha1, Alpha2, Z1, Z2 : Real; VLocation : Pnt)
33 Create (S : Cone; Alpha1, Alpha2, Z1, Z2 : Real; VLocation : Pnt)
37 Create (S : Sphere; Teta1, Teta2, Alpha1, Alpha2 : Real; VLocation : Pnt)
41 Create (S : Torus; Teta1, Teta2, Alpha1, Alpha2 : Real; VLocation : Pnt)
45 SetLocation(me : in out ;VLocation :Pnt);
47 Perform(me : in out;S : Cylinder; Alpha1, Alpha2, Z1, Z2 : Real);
49 Perform(me : in out;S : Cone; Alpha1, Alpha2, Z1, Z2 : Real);
51 Perform(me : in out;S : Sphere; Teta1, Teta2, Alpha1, Alpha2 : Real);
53 Perform(me : in out;S : Torus; Teta1, Teta2, Alpha1, Alpha2 : Real);