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

Class BoundingBox

 object --+    
          |    
??.instance --+
              |
             BoundingBox

An axis aligned box represented by 2 opposite corners.

Instance Methods
 
__add__(...)
__add__( (BoundingBox)arg1, (BoundingBox)arg2) -> object :
 
__and__(...)
__and__( (BoundingBox)arg1, (BoundingBox)arg2) -> object :
 
__init__(...)
__init__( (object)arg1 [, (Vector3)lowerLeft [, (Vector3)upperRight]]) -> None : BoundingBox(Vector3 lowerLeft, Vector3 upperRight) Constructs a BoundingBox with the 2 opposing corners lowerLeft and upperRight.
 
__or__(...)
__or__( (BoundingBox)arg1, (BoundingBox)arg2) -> object :
 
__reduce__(...)
helper for pickle
 
__repr__(...)
__repr__( (BoundingBox)arg1) -> str :
 
__str__(...)
__str__( (BoundingBox)arg1) -> str :
 
change(...)
change( (BoundingBox)arg1, (Vector3)arg2, (Vector3)arg3) -> None : change(center)
 
contains(...)
contains( (BoundingBox)arg1, (BoundingBox)arg2) -> bool :
 
getCenter(...)
getCenter( (BoundingBox)arg1) -> Vector3 :
 
getSize(...)
getSize( (BoundingBox)arg1) -> Vector3 : size of the half diagonal of self along the x-axis, y-axis and z-axis.
 
getXMax(...)
getXMax( (BoundingBox)arg1) -> float :
 
getXMin(...)
getXMin( (BoundingBox)arg1) -> float :
 
getXRange(...)
getXRange( (BoundingBox)arg1) -> float :
 
getYMax(...)
getYMax( (BoundingBox)arg1) -> float :
 
getYMin(...)
getYMin( (BoundingBox)arg1) -> float :
 
getYRange(...)
getYRange( (BoundingBox)arg1) -> float :
 
getZMax(...)
getZMax( (BoundingBox)arg1) -> float :
 
getZMin(...)
getZMin( (BoundingBox)arg1) -> float :
 
getZRange(...)
getZRange( (BoundingBox)arg1) -> float :
 
scale(...)
scale( (BoundingBox)arg1, (Vector3)arg2) -> None :
 
set(...)
set( (BoundingBox)arg1, (Vector3)arg2, (Vector3)arg3) -> None : set(lowerLeft,upperRight)
 
transform(...)
transform( (BoundingBox)arg1, (Matrix4)arg2) -> None :
 
translate(...)
translate( (BoundingBox)arg1, (Vector3)arg2) -> None :

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 12
Properties
  lowerLeftCorner
  upperRightCorner

Inherited from object: __class__

Method Details

__add__(...)
(Addition operator)

 

__add__( (BoundingBox)arg1, (BoundingBox)arg2) -> object :

    C++ signature :
        struct _object * __add__(class PGL::BoundingBox {lvalue},class PGL::BoundingBox)

__add__( (BoundingBox)arg1, (Vector3)arg2) -> object :

    C++ signature :
        struct _object * __add__(class PGL::BoundingBox {lvalue},class TOOLS::Vector3)

__and__(...)
(And operator)

 

__and__( (BoundingBox)arg1, (BoundingBox)arg2) -> object :

    C++ signature :
        struct _object * __and__(class PGL::BoundingBox {lvalue},class PGL::BoundingBox)

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (Vector3)lowerLeft [, (Vector3)upperRight]]) -> None :
    BoundingBox(Vector3 lowerLeft, Vector3 upperRight) Constructs a BoundingBox with the 2 opposing corners lowerLeft and upperRight.

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

__init__( (object)arg1, (object)arg2) -> object :
    BoundingBox(geometry|scene) Constructs a BoundingBox from some geometries.

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

Overrides: object.__init__

__or__(...)
(Or operator)

 

__or__( (BoundingBox)arg1, (BoundingBox)arg2) -> object :

    C++ signature :
        struct _object * __or__(class PGL::BoundingBox {lvalue},class PGL::BoundingBox)

__or__( (BoundingBox)arg1, (Vector3)arg2) -> object :

    C++ signature :
        struct _object * __or__(class PGL::BoundingBox {lvalue},class TOOLS::Vector3)

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(...)
(Representation operator)

 

__repr__( (BoundingBox)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class PGL::BoundingBox *)

Overrides: object.__repr__

__str__(...)
(Informal representation operator)

 

__str__( (BoundingBox)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(class PGL::BoundingBox *)

Overrides: object.__str__

change(...)

 

change( (BoundingBox)arg1, (Vector3)arg2, (Vector3)arg3) -> None :
    change(center)

    C++ signature :
        void change(class PGL::BoundingBox {lvalue},class TOOLS::Vector3,class TOOLS::Vector3)

contains(...)

 

contains( (BoundingBox)arg1, (BoundingBox)arg2) -> bool :

    C++ signature :
        bool contains(class PGL::BoundingBox *,class PGL::BoundingBox *)

contains( (BoundingBox)arg1, (Vector3)arg2) -> bool :

    C++ signature :
        bool contains(class PGL::BoundingBox *,class TOOLS::Vector3)

getCenter(...)

 

getCenter( (BoundingBox)arg1) -> Vector3 :

    C++ signature :
        class TOOLS::Vector3 getCenter(class PGL::BoundingBox {lvalue})

getSize(...)

 

getSize( (BoundingBox)arg1) -> Vector3 :
    size of the half diagonal of self along the x-axis, y-axis and z-axis. 

    C++ signature :
        class TOOLS::Vector3 getSize(class PGL::BoundingBox {lvalue})

getXMax(...)

 

getXMax( (BoundingBox)arg1) -> float :

    C++ signature :
        double getXMax(class PGL::BoundingBox {lvalue})

getXMin(...)

 

getXMin( (BoundingBox)arg1) -> float :

    C++ signature :
        double getXMin(class PGL::BoundingBox {lvalue})

getXRange(...)

 

getXRange( (BoundingBox)arg1) -> float :

    C++ signature :
        double getXRange(class PGL::BoundingBox {lvalue})

getYMax(...)

 

getYMax( (BoundingBox)arg1) -> float :

    C++ signature :
        double getYMax(class PGL::BoundingBox {lvalue})

getYMin(...)

 

getYMin( (BoundingBox)arg1) -> float :

    C++ signature :
        double getYMin(class PGL::BoundingBox {lvalue})

getYRange(...)

 

getYRange( (BoundingBox)arg1) -> float :

    C++ signature :
        double getYRange(class PGL::BoundingBox {lvalue})

getZMax(...)

 

getZMax( (BoundingBox)arg1) -> float :

    C++ signature :
        double getZMax(class PGL::BoundingBox {lvalue})

getZMin(...)

 

getZMin( (BoundingBox)arg1) -> float :

    C++ signature :
        double getZMin(class PGL::BoundingBox {lvalue})

getZRange(...)

 

getZRange( (BoundingBox)arg1) -> float :

    C++ signature :
        double getZRange(class PGL::BoundingBox {lvalue})

scale(...)

 

scale( (BoundingBox)arg1, (Vector3)arg2) -> None :

    C++ signature :
        void scale(class PGL::BoundingBox {lvalue},class TOOLS::Vector3)

set(...)

 

set( (BoundingBox)arg1, (Vector3)arg2, (Vector3)arg3) -> None :
    set(lowerLeft,upperRight)

    C++ signature :
        void set(class PGL::BoundingBox {lvalue},class TOOLS::Vector3,class TOOLS::Vector3)

transform(...)

 

transform( (BoundingBox)arg1, (Matrix4)arg2) -> None :

    C++ signature :
        void transform(class PGL::BoundingBox {lvalue},class TOOLS::Matrix4)

transform( (BoundingBox)arg1, (Matrix3)arg2) -> None :

    C++ signature :
        void transform(class PGL::BoundingBox {lvalue},class TOOLS::Matrix3)

translate(...)

 

translate( (BoundingBox)arg1, (Vector3)arg2) -> None :

    C++ signature :
        void translate(class PGL::BoundingBox {lvalue},class TOOLS::Vector3)


Property Details

lowerLeftCorner

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

upperRightCorner

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