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 Command

Description

From a point, find the coordinates corresponding to 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

To get coordinates of 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

Errors

None.