This function will return a value that is proportional to the irregularity of a triangonal face or subface. The ratio of the lengths of the shortest and the longest edges.
Usage
trishape(gridObj)
# S4 method for class 'trigrid'
trishape(gridObj)
# S4 method for class 'hexagrid'
trishape(gridObj)Details
The value is exactly 1 for an equilateral triangle, and becomes 0 as one of the edges approach 0. The values for hexagrid objects are face-specific means of subface values.
Examples
g <- trigrid(3)
shape <- trishape(g)
