Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

trishape

Shape distortions of the triangular faces and subfaces


Description

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 signature 'trigrid'
trishape(gridObj)

## S4 method for signature 'hexagrid'
trishape(gridObj)

Arguments

gridObj

(trigrid, hexagrid) Object.

Details

The value is exactly 1 for an equilateral triangle, and becomes 0 as one of the edges approach 0.

Value

A named numeric vector, one value for every face of the grid.

Examples

g <- trigrid(3)
shape <- trishape(g)

icosa

Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra

v0.10.1
GPL-3
Authors
Adam T. Kocsis [aut, cre]
Initial release
2021-01-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.