hm_getlinetgendpoint
Returns the components of the tangent vector and the angle between the tangent vector and the z-axis at the line end point.
Syntax
hm_getlinetgendpoint line_id
Type
HyperMesh Tcl Query Command
Description
Returns the components of the tangent vector and the angle between the tangent vector and the z-axis at the line end 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 end of the line with ID 341:
foreach {tg_x tg_y tg_z ang} [hm_getlinetgendpoint 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