BoundingHexahedron¶
-
class BoundingHexahedron¶
Bases:
FiniteBoundingVolumeThis defines a bounding convex hexahedron. It is typically used to represent a frustum, but may represent any enclosing convex hexahedron, including simple boxes. However, if all you want is an axis-aligned bounding box, you may be better off with the simpler
BoundingBoxclass.Inheritance diagram
digraph inheritancedd74a973a2 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BoundingHexahedron" [URL="acron.core.BoundingHexahedron.html#acron.core.BoundingHexahedron",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "FiniteBoundingVolume" -> "BoundingHexahedron" [arrowsize=0.75,style=""]; "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=""]; "FiniteBoundingVolume" [URL="acron.core.FiniteBoundingVolume.html#acron.core.FiniteBoundingVolume",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "GeometricBoundingVolume" -> "FiniteBoundingVolume" [arrowsize=0.75,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=""]; }- BoundingHexahedron.__init__()¶
- static BoundingHexahedron.get_class_type()¶
- BoundingHexahedron.get_num_planes()¶
Returns 6: the number of faces of a hexahedron.
- BoundingHexahedron.get_num_points()¶
Returns 8: the number of vertices of a hexahedron.
- BoundingHexahedron.get_plane()¶
Returns the nth face of the hexahedron.
- BoundingHexahedron.get_point()¶
Returns the nth vertex of the hexahedron.