BoundingSphere¶
from acron.core import BoundingSphere
- class BoundingSphere¶
Bases:
Bases:
FiniteBoundingVolumeThis defines a bounding sphere, consisting of a center and a radius. It is always a sphere, and never an ellipsoid or other quadric.
Inheritance diagram
digraph inheritance00f5da215f { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BoundingSphere" [URL="acron.core.BoundingSphere.html#acron.core.BoundingSphere",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "FiniteBoundingVolume" -> "BoundingSphere" [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=""]; }- __init__()¶
Constructs an empty sphere.
Constructs a specific sphere.
- get_center()¶
- static get_class_type()¶
- get_radius()¶
- static operator_delete()¶
- static operator_delete()¶
- static operator_new()¶
- static operator_new()¶
- set_center()¶
Sets the center point of the sphere.
- set_radius()¶
Sets the radius of the sphere.
- static validate_ptr()¶