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

Class Box

 object --+                    
          |                    
??.instance --+                
              |                
    SceneObject --+            
                  |            
           Geometry --+        
                      |        
              Primitive --+    
                          |    
            ParametricModel --+
                              |
                             Box

The Box describes a rectangular axis-aligned box centered at origin and whose extension along the x, y and z-axis is specified with the size vector.

Instance Methods
 
__init__(...)
__init__( (object)arg1 [, (Vector3)size]) -> None : Box(Vector3(x,y,z))
 
isSizeToDefault(...)
isSizeToDefault( (Box)arg1) -> bool :

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_SIZE
  size

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (Vector3)size]) -> None :
    Box(Vector3(x,y,z))

    C++ signature :
        void __init__(struct _object * [,class TOOLS::Vector3])

__init__( (object)arg1, (float)arg2, (float)arg3, (float)arg4) -> object :

    C++ signature :
        void * __init__(class boost::python::api::object,double,double,double)

__init__( (object)arg1, (float)arg2) -> object :

    C++ signature :
        void * __init__(class boost::python::api::object,double)

Overrides: object.__init__

isSizeToDefault(...)

 

isSizeToDefault( (Box)arg1) -> bool :

    C++ signature :
        bool isSizeToDefault(class PGL::Box {lvalue})


Property Details

DEFAULT_SIZE

Get Method:
unreachable(...)

size

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