hm_triplecos

Get the cosine angle of two vectors

Syntax

hm_triplecos x0 y0 z0 x1 y1 z1

Type

HyperMesh Tcl Query Command

Description

Get the cosine angle of two vectors.

Inputs

X0 y0 z0
x1 y1 z1
Definition of two vectors.
A double value of cosine angle between these two vectors.

Example

hm_triplecos  0.0  0.0 1.0  1.0 0.0 0.0 
result: 0.0   

Errors

None.