HyperWorks Tools

::hwat::core::FindDeltaXForAngledBarrier

::hwat::core::FindDeltaXForAngledBarrier

Previous topic Next topic No expanding text in this topic  

::hwat::core::FindDeltaXForAngledBarrier

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::core::FindDeltaXForAngledBarrier - Finds the distance to offset the center of the angled barrier from the mid Y position of the vehicle along the x axis such that the barrier just touches the vehicle.

 

SYNTAX

::hwat::core::FindDeltaXForAngledBarrier d_vehicleDims d_angle [str_assemName] [str_bcicType]

 

ARGUMENTS

d_vehicleDims

A Tcl list containing the vehicle dimensions, of the form MinX, MinY, MinZ, MaxX, MaxY, MaxZ.

d_angle

The angle of the barrier.

str_assemName

The assembly name of the vehicle (default = VEHICLE).

str_bcicType

The BCIC type (default = FRONT).  Only FRONT and REAR are currently supported.  Optional.

 

RETURNS

The offset distance if successful, {} otherwise.

 

EXAMPLE

::hwat::core::FindDeltaXForAngledBarrier [list 0.0 0.0 0.0 5000.0 1500.0 2000]  -45.0 VEHICLE FRONT

 

COMMENT

The user has to add the required gap to the offset.

 

See also

Core Functions