VehicleGraphics3DEllipsoid#

class ansys.stk.core.stkobjects.VehicleGraphics3DEllipsoid#

Bases: IVehicleGraphics3DProximityAreaObject

Define an ellipsoid around the vehicle object.

Overview#

x_semiaxis_length

Indicate how far along the X axis of the reference frame the box extends. Value must be greater than 0.

y_semiaxis_length

Indicate how far along the Y axis of the reference frame the box extends. Value must be greater than 0.

z_semiaxis_length

Indicate how far along the Z axis of the reference frame the box extends. Value must be greater than 0.

x_axis_offset

Get or set the distance to offset the box (positive or negative) along the X axis of the reference frame.

y_axis_offset

Get or set the distance to offset the box (positive or negative) along the Y axis of the reference frame.

z_axis_offset

Get or set the distance to offset the box (positive or negative) along the Z axis of the reference frame.

use_translucency

Specify a translucency of the object.

translucency

Get or set the translucency of the object. Valid values are 0 - 100, where 0 is opaque and 100 is transparent.

granularity

Indicate the number of points used to draw the ellipsoid. Lower numbers create a better ellipsoid and higher numbers make the ellipsoid draw faster.

reference_frame

Get or set the reference axes that is used to align the ellipsoid.

Import detail#

from ansys.stk.core.stkobjects import VehicleGraphics3DEllipsoid

Property detail#

property VehicleGraphics3DEllipsoid.x_semiaxis_length: float#

Indicate how far along the X axis of the reference frame the box extends. Value must be greater than 0.

property VehicleGraphics3DEllipsoid.y_semiaxis_length: float#

Indicate how far along the Y axis of the reference frame the box extends. Value must be greater than 0.

property VehicleGraphics3DEllipsoid.z_semiaxis_length: float#

Indicate how far along the Z axis of the reference frame the box extends. Value must be greater than 0.

property VehicleGraphics3DEllipsoid.x_axis_offset: float#

Get or set the distance to offset the box (positive or negative) along the X axis of the reference frame.

property VehicleGraphics3DEllipsoid.y_axis_offset: float#

Get or set the distance to offset the box (positive or negative) along the Y axis of the reference frame.

property VehicleGraphics3DEllipsoid.z_axis_offset: float#

Get or set the distance to offset the box (positive or negative) along the Z axis of the reference frame.

property VehicleGraphics3DEllipsoid.use_translucency: bool#

Specify a translucency of the object.

property VehicleGraphics3DEllipsoid.translucency: float#

Get or set the translucency of the object. Valid values are 0 - 100, where 0 is opaque and 100 is transparent.

property VehicleGraphics3DEllipsoid.granularity: float#

Indicate the number of points used to draw the ellipsoid. Lower numbers create a better ellipsoid and higher numbers make the ellipsoid draw faster.

property VehicleGraphics3DEllipsoid.reference_frame: IVectorGeometryToolAxes#

Get or set the reference axes that is used to align the ellipsoid.