UnionBoundingVolume¶
from acron.core import UnionBoundingVolume
- class UnionBoundingVolume¶
Bases:
Bases:
GeometricBoundingVolumeThis special bounding volume is the union of all of its constituent bounding volumes.
A point is defined to be within a UnionBoundingVolume if it is within any one or more of its component bounding volumes.
Inheritance diagram
digraph inheritanceaeb4528a77 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BoundingVolume" [URL="acron.core.BoundingVolume.html#acron.core.BoundingVolume",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "BoundingVolume" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "GeometricBoundingVolume" [URL="acron.core.GeometricBoundingVolume.html#acron.core.GeometricBoundingVolume",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "BoundingVolume" -> "GeometricBoundingVolume" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "UnionBoundingVolume" [URL="acron.core.UnionBoundingVolume.html#acron.core.UnionBoundingVolume",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "GeometricBoundingVolume" -> "UnionBoundingVolume" [arrowsize=0.75,style=""]; }- __init__()¶
Constructs an empty union.
- add_component()¶
Adds a new component to the volume. This does not necessarily increase the total number of components by one, and you may or may not be able to find this component in the volume by a subsequent call to
get_component(); certain optimizations may prevent the component from being added, or have other unexpected effects on the total set of components.
- clear_components()¶
Removes all components from the volume.
- property components Sequence[GeometricBoundingVolume]¶
Returns the nth component in the union.
- filter_intersection()¶
Removes from the union any components that have no intersection with the indicated volume.
- static get_class_type()¶
- get_component()¶
Returns the nth component in the union.
- get_num_components()¶
Returns the number of components in the union.
- static operator_delete()¶
- static operator_delete()¶
- static operator_new()¶
- static operator_new()¶
- static validate_ptr()¶