hm_getlinetgstartpoint

Returns the components of the tangent vector and the angle between the tangent vector and the z-axis at the line start point.

Syntax

hm_getlinetgstartpoint line_id

Type

HyperMesh Tcl Query

Description

Returns the components of the tangent vector and the angle between the tangent vector and the z-axis at the line start point. The first 3 return values are the tangent vector components, and the 4th return value is the angle.

Inputs

line_id
The ID of the line.

Example

To get the components of the tangent vector and the angle between the tangent vector and the z-axis at the start of the line with ID 341:

foreach {tg_x tg_y tg_z ang} [hm_getlinetgstartpoint 341] {}

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0