Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class Revolution
[frames] | no frames]

Class Revolution

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
            ParametricModel --+    
                              |    
                            SOR --+
                                  |
                                 Revolution

Revolution describes a general surface of revolution generated by the rotation of a planar curve about the z -axis.
The number of points within the generatrice curve determines the number of subdivisions along the z -axis when discretizing the object. slice determine the number of evaluated vertical sections.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Curve2D)profile [, (int)slices]) -> None : Revolution(profile [, slices])

Inherited from SOR: isSlicesToDefault

Inherited from Geometry: deepcopy, isACurve, isASurface, isAVolume, isExplicit

Inherited from SceneObject: __reduce__, apply, getId, getName, isNamed, isValid, setName

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  __instance_size__ = 12

Inherited from SceneObject: __safe_for_unpickling__

Properties
  profile

Inherited from SOR: slices

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Curve2D)profile [, (int)slices]) -> None :
    Revolution(profile [, slices])

    C++ signature :
        void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Curve2D> [,unsigned char])

Overrides: object.__init__

Property Details

profile

Get Method:
unreachable(...)
Set Method:
unreachable(...)