CLASSIFIER : GRCylinder
uid: class-GRCYLINDER-CVEViewer-MetaModel@g-scop.grenoble-inp.fr
About
Abstract
A GRCylinder is a graphic node visualizing a simple cylinder
To create a GRCylinder just call:
cylinder=cve.viewer.GRylinder(Height=100,Radius=50)
where :
- Height
- Radius
Class Diagram
Inherits
- GRNODE
Attributes table
attribute | type | cardinality |
---|---|---|
Radius | vreal | [1,1] |
Height | vreal | [1,1] |
Methods
-
set_radius(self,..) :
Set cylinder radius < r : cylinder radius
-
get_radius(self,..) :
Get dimension in local coordinate > radius
-
set_height(self,..) :
Set cylinder height < h : height
-
get_height(self,..) :
Get dimension in local coordinate > height