VehicleGraphics3DBearingEllipse#

class ansys.stk.core.stkobjects.VehicleGraphics3DBearingEllipse#

Bases: IVehicleGraphics3DProximityAreaObject

Define an ellipse, relative to a bearing from the North, around the object.

Overview#

bearing

Get or set the bearing value, relative to North. Uses Angle Dimension.

semi_major_axis

Define the major axis for the ellipse. The value must be greater than 0. Uses Distance Dimension.

semi_minor_axis

Define the minor axis for the ellipse. The value must be greater than 0. Uses Distance Dimension.

granularity

Indicate the number of points used to draw the ellipse. Lower numbers create a better ellipse and higher numbers make the ellipse draw faster. Uses Angle Dimension.

major_axis_offset

Get or set the distance to offset the box (forward or backward) along the bearing. A positive MajorAxisOffset value moves the box forward. Uses Distance Dimension.

minor_axis_offset

Get or set the distance to offset the box (left or right) along the bearing. A positive MinorAxisOffset value moves the box to the right. Uses Distance Dimension.

Import detail#

from ansys.stk.core.stkobjects import VehicleGraphics3DBearingEllipse

Property detail#

property VehicleGraphics3DBearingEllipse.bearing: float#

Get or set the bearing value, relative to North. Uses Angle Dimension.

property VehicleGraphics3DBearingEllipse.semi_major_axis: float#

Define the major axis for the ellipse. The value must be greater than 0. Uses Distance Dimension.

property VehicleGraphics3DBearingEllipse.semi_minor_axis: float#

Define the minor axis for the ellipse. The value must be greater than 0. Uses Distance Dimension.

property VehicleGraphics3DBearingEllipse.granularity: float#

Indicate the number of points used to draw the ellipse. Lower numbers create a better ellipse and higher numbers make the ellipse draw faster. Uses Angle Dimension.

property VehicleGraphics3DBearingEllipse.major_axis_offset: float#

Get or set the distance to offset the box (forward or backward) along the bearing. A positive MajorAxisOffset value moves the box forward. Uses Distance Dimension.

property VehicleGraphics3DBearingEllipse.minor_axis_offset: float#

Get or set the distance to offset the box (left or right) along the bearing. A positive MinorAxisOffset value moves the box to the right. Uses Distance Dimension.