sphere_radius#
- view_transf.sphere_radius(p0: float) int #
Defines the radius of the sphere tool.
- Args:
- p0:
‘value’ radius of the sphere tool
- Examples:
# # Turns display of the quadric sphere tool on # (only one quadric tool at a time can be on) # ensight.tools.quadric("sphere") # # Sets the axis and other attributes of the sphere tool # ensight.view_transf.sphere_radius(1.500000) ensight.view_transf.sphere_axis(1.000000,0.100000,0.000000) ensight.view_transf.sphere_origin(0.500000,0.700000,1.000000) # # Turns off the display of the sphere tool # ensight.tools.quadric("none")
- Returns:
zero on success, non-zero on error