::hwat::utils::GetElementCentroid

Finds the centroid of the element.

Syntax

::hwat::utils::GetElementCentroid elemid

Arguments

elemid
The ID of the element.

Returns

Success
A Tcl list containing the centroid of the element.
Failure
{}

Example

::hwat::utils::GetElementCentroid 12.