hm_getlinelineangle
Returns the angle between two lines at one of their intersection points.
Syntax
hm_getlinelineangle line_id1 line_id2 x y z
Type
HyperMesh Tcl Query
Description
Returns the angle between two lines at one of their intersection points. If the specified point is found to be on both lines, then it calculates the angle between the lines at this point and returns its value in degrees. Otherwise, an error is returned.
Inputs
- line_id1
- The ID of the first line.
- line_id2
- The ID of the second line.
- x y z
- The coordinates of the intersection point.
Example
To find the angle between line 43 and line 58 at point (4.7, 6.88, 9.4):
hm_getlinelineangle 43 58 4.7 6.88 9.4
Errors
if { [ catch {command_name...} ] } {
# Handle error
}