hm_gettgofpointsonline
Returns the line coordinates and tangents at each of the given line u parameters.
Syntax
hm_gettgofpointsonline line_id u_parameter_list
Type
HyperMesh Tcl Query
Description
- The x component of the tangent.
- The y component of the tangent.
- The z component of the tangent.
- The x component of the point.
- The y component of the point.
- The z component of the point.
Inputs
- line_id
- The ID of the line to query.
- u_parameter_list
- The list of u parameter values to query.
Example
To get the tangent value to line 2619 at parameters 0, 0.3, 0.6 and 1:
hm_gettgofpointsonline 2619 "0 0.3 0.6 1"
The result will be:
{6.99262682991E-001 7.14009158681E-001 -3.49660048614E-002 1.30423642953E+002 -1.27525626452E+002 -8.36964589224E+001} {8.61157286718E-001 5.07521178145E-001 -2.88163368057E-002 8.65818866056E+001 -1.61178431282E+002 -8.15929252958E+001} {9.71575894632E-001 2.36065122496E-001 -1.77070299994E-002 4.33332186353E+001 -1.78459163875E+002 -8.04130928544E+001} {9.88553405126E-001 -1.50402051914E-001 1.18906683276E-002 -2.96276296290E+001 -1.81248468873E+002 -8.00744589224E+001}
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
12.0