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

Class BoundingSphere

 object --+    
          |    
??.instance --+
              |
             BoundingSphere

A sphere - centre point and radius.

Instance Methods [hide private]
 
__eq__(...)
 
__getinitargs__(...)
 
__init__(...)
Creates sphere with specified centre and radius.
 
__reduce__(...)
helper for pickle
 
__str__(...)
str(x)
Vec3
getCenter(...)
Returns centre point of this sphere.
Vec3
getCentre(...)
Returns centre point of this sphere.
float
getRadius(...)
Returns radius of this sphere.

Inherited from unreachable.instance: __new__

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

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

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Creates sphere with specified centre and radius.

Parameters:
  • centrePt (Vec3) - Centre of sphere.
  • radius (float) - Radius of sphere.
Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)