hm_findtangentpointoncircle

From a point, find the corresponding two tangent points on a circle.

Syntax

hm_findtangentpointoncircle px py pz cx cy cz cnx cny cnz r0

Type

HyperMesh Tcl Query

Description

From a point, find the corresponding two tangent points on a circle.

Inputs

px, py, pz
Defines a point.
cx, cy, cz
Defines a circle center.
cnx, cny, cnz
Defines a circle normal.
r0
Defines circle radius.

Example

Returns two tangent points on the circle.

hm_findtangentpointoncircle  2.0 0.0 0.0  0.0 0.0 0.0   0.0 0.0 1.0   1.0
0.5, 0.732 0.0   and  0.5 -0.732  0.0

Errors

None.