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

Class Cone

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
            ParametricModel --+    
                              |    
                            SOR --+
                                  |
                                 Cone
Known Subclasses:

A cone structure defined by a radius and a height. Its base is centered at origin.

Instance Methods
 
__init__(...)
__init__( (object)arg1 [, (float)radius [, (float)height [, (bool)solid [, (int)slices]]]]) -> None : Cone(radius, height [, solid, slices])
 
isHeightToDefault(...)
isHeightToDefault( (Cone)arg1) -> bool :
 
isRadiusToDefault(...)
isRadiusToDefault( (Cone)arg1) -> bool :
 
isSolidToDefault(...)
isSolidToDefault( (Cone)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_HEIGHT
  DEFAULT_RADIUS
  DEFAULT_SOLID
  height
  radius
  solid

Inherited from SOR: slices

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (float)radius [, (float)height [, (bool)solid [, (int)slices]]]]) -> None :
    Cone(radius, height [, solid, slices])

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

Overrides: object.__init__

isHeightToDefault(...)

 

isHeightToDefault( (Cone)arg1) -> bool :

    C++ signature :
        bool isHeightToDefault(class PGL::Cone {lvalue})

isRadiusToDefault(...)

 

isRadiusToDefault( (Cone)arg1) -> bool :

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

isSolidToDefault(...)

 

isSolidToDefault( (Cone)arg1) -> bool :

    C++ signature :
        bool isSolidToDefault(class PGL::Cone {lvalue})


Property Details

DEFAULT_HEIGHT

Get Method:
unreachable(...)

DEFAULT_RADIUS

Get Method:
unreachable(...)

DEFAULT_SOLID

Get Method:
unreachable(...)

height

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

radius

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

solid

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