vgl.boundingObject (class)

class vgl.boundingObject()

Create a new instance of class boundingObject

Returns:
rtype:vgl.boundingObject
vgl.boundingObject.bounds()

Get current bounds of the object

vgl.boundingObject.setBounds(minX, maxX, minY, maxY, minZ, maxZ)
Arguments:
  • minX
  • maxX
  • minY
  • maxY
  • minZ
  • maxZ

Set current bounds of the object

vgl.boundingObject.resetBounds()

Reset bounds to default values

vgl.boundingObject.computeBounds()

Compute bounds of the object

Should be implemented by the concrete class

vgl.boundingObject.computeBoundsTimestamp()

Return bounds computation modification time

Returns:
Return type:vgl.timestamp
vgl.boundingObject.boundsDirtyTimestamp()

Return bounds dirty timestamp

Returns:
Return type:vgl.timestamp