hm_morph_getdomainarcangle

Returns the arc angle of a specified edge domain. Optional arguments allow the arc angle to be calculated using a line, node, or base point and axis to find the center of curvature.

Syntax

hm_morph_getdomainarcangle domainId ?(x y z dx dy dz) | ((node|line) entityId)?

Type

HyperMesh Tcl Query

Description

Returns the arc angle of a specified edge domain. Optional arguments allow the arc angle to be calculated using a line, node, or base point and axis to find the center of curvature.

Inputs

domainID
The ID of an edge domain.
?BaseAndAxis?
x, y, z - Base point is x, y, z.
dx, dy, dz - Axis is along dx, dy, dz.
?(Line) entityId?
line entity Id - Specify 'line' and the line ID.
?(Node) entityId?
node entity Id - Specify 'node' and the node ID.
?<blank>?
<none> - Default approximates the center of the edge domain.

Examples

To get the arc angle of a domain with ID 2:

hm_morph_getdomainarcangle 2

To get the arc angle a domain with ID 2 and measured at 2.0, 5.0, 0.0 and normal to a vector that runs 1.0 in the x direction, 0.5 in the y direction, and 0.0 in the z direction:

hm_morph_getdomainarcangle 2 2.0 5.0 0.0 1.0 0.5 0.0

To get the arc angle of a domain with ID 2 and measured using node ID 12 as the center node:

hm_morph_getdomainarcangle 2 node 12

To get the arc angle of a domain with ID 2 and measured using line ID 3 as the center line:

hm_morph_getdomainarcangle 2 line 3

Errors

None.