::hwat::utils::GetMinMaxFromElements

Returns the 2D bounding box formed by the elements on the plane defined by the arguments.

Syntax

::hwat::utils::GetMinMaxFromElements {elems} n_zNode n_oNode n_xNode

Arguments

elems
A Tcl list of element IDs.
n_zNode
The ID of the node which defines the tip of the plane's normal.
n_oNode
The ID of the node which defines the tail of the plane's normal.
n_xNode
The ID of the node which defines the x-axis.

Returns

Success
A Tcl list of the form xmin, ymin, xmax, ymax.
Failure
{}

Example

::hwat::utils::GetMinMaxFromElements [list 102 103 104] 10 23 50.

Comments

The vector defines the z-axis.