Sphere#

class osaft.core.geometries.Sphere(radius)[source]#

Bases: object

Sphere class

Parameters:

radius (float) – radius in [m]

Public Data Attributes:

R_0

Radius of the sphere [m]

area

Returns the surface area of the sphere [m^2]

volume

Returns the volume of the sphere [m^3]


property R_0: float#

Radius of the sphere [m]

Getter:

returns the value for the radius

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property area: float#

Returns the surface area of the sphere [m^2]

property volume: float#

Returns the volume of the sphere [m^3]