hm_morph_getdomainlength

Returns the length of a specified edge domain. Optional argument allows the user to input a vector along which to measure the length.

Syntax

hm_morph_getdomainlength domainId ?x y z?

Type

HyperMesh Tcl Query Command

Description

Returns the length of a specified edge domain. Optional argument allows the user to input a vector along which to measure the length.

Inputs

domainId
The ID of an edge domain.
x y z (optional)
Vector along which the length will be measured. Default vector is from one end of the domain towards the other.

Examples

To get the length of a domain with ID 2:

hm_morph_getdomainlength 2

To get the length of a domain with ID 2 and measured along 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_getdomainlength 2 1.0 0.5 0.0

Only the length from end to end is measured. Curvature is ignored.

Errors

None.