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

Class Sphere

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

Instance Methods
 
__init__(...)
__init__( (object)arg1 [, (float)radius [, (int)slices [, (int)stacks]]]) -> None : Sphere(radius [,slices, stacks])
 
isRadiusToDefault(...)
isRadiusToDefault( (Sphere)arg1) -> bool :
 
isStacksToDefault(...)
isStacksToDefault( (Sphere)arg1) -> bool :

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
  DEFAULT_RADIUS
  DEFAULT_STACKS
  radius
  stacks

Inherited from SOR: slices

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (float)radius [, (int)slices [, (int)stacks]]]) -> None :
    Sphere(radius [,slices, stacks])

    C++ signature :
        void __init__(struct _object * [,double [,unsigned char [,unsigned char]]])

Overrides: object.__init__

isRadiusToDefault(...)

 

isRadiusToDefault( (Sphere)arg1) -> bool :

    C++ signature :
        bool isRadiusToDefault(class PGL::Sphere {lvalue})

isStacksToDefault(...)

 

isStacksToDefault( (Sphere)arg1) -> bool :

    C++ signature :
        bool isStacksToDefault(class PGL::Sphere {lvalue})


Property Details

DEFAULT_RADIUS

Get Method:
unreachable(...)

DEFAULT_STACKS

Get Method:
unreachable(...)

radius

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

stacks

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