Package esys :: Package lsm :: Package util :: Module FoundationPy :: Class BoundingBox
[hide private]
[frames] | no frames]

Class BoundingBox

 object --+    
          |    
??.instance --+
              |
             BoundingBox
Known Subclasses:

An axis aligned box.

Instance Methods [hide private]
 
__eq__(...)
 
__getinitargs__(...)
 
__init__(...)
Construct box by specifying lower left corner and upper right corner coordinates.
 
__reduce__(...)
helper for pickle
 
__str__(...)
str(x)
Vec3
getCenter(...)
Returns the centre point of this box.
Vec3
getCentre(...)
Returns the centre point of this box.
Vec3
getMaxPt(...)
Returns upper right corner coordinate.
Vec3
getMinPt(...)
Returns lower left corner coordinate.
Vec3
getSize(...)
Returns side-lengths for each coordinate component.
bool
intersectsWith(...)
Returns True if the specified point intersects with this box.

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 72
  __safe_for_unpickling__ = True
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Construct box by specifying lower left corner and upper right corner coordinates.

Parameters:
  • minPt (Vec3) - lower left corner coordinate.
  • maxPt (Vec3) - upper right corner coordinate.
Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

intersectsWith(...)

 

Returns True if the specified point intersects with this box.

Parameters:
Returns: bool