Category
Function
Performs length, area, and volume measurements on an input object.
Syntax
output = Measure(input, what);
Inputs
Name | Type | Default | Description |
---|---|---|---|
input | field | none | data to be measured |
what | string | input dependent | measurement to be performed |
Outputs
Name | Type | Description |
---|---|---|
output | value | result of the measurement |
Functional Details
input | is the field to be measured. It is expected to have a "connections" component consisting of lines, surfaces, or volumes. |
what | specifies the type of measurement to be performed.
|
The options for what are shown in the following
table:
Table 7. Options for
Measure's What Parameter
Connection element | What | Measurement |
---|---|---|
lines | "length" | total length of line segments |
"element" | length of each line segment | |
"area" | 2-D area enclosed by connected line segments. If a series of segments is not closed, a segment connecting the first and final points of the sequence is added. | |
faces | "area" | total area of all faces |
"element" | area of each face | |
triangles, quads | "area" | total area of all surface elements |
"element" | area of each surface element | |
"volume" | 3-D volume enclosed by connected sets of surface elements. If a connected set of surface elements is not closed, the approximate closing surface(s) is(are) found by triangulating the openings in the surface (defined by loops of unshared edges). | |
polylines | "length" | total length of all lines |
"element" | length of each line | |
tetrahedra, cubes | "element" | volume of each 3-D element |
"volume" | total volume of all 3-D elements | |
Notes:
|
Example Visual Program
ThunderGlyphSheet.net
See Also
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]