mesh: Generate Meshes From Elevation Map

Description Usage Arguments Value

Description

mesh_tile produces a tile mesh, mesh_tri produces a triangle mesh. The elevation map should have been converted to a list of equal length vectors in "long" format.

Usage

1
2
3

Arguments

L

list of equal length numeric vectors containing named elements 'x', 'y', and 'z'. No NA elements allowed.

dim

integer(2L) the dimensions of the elevation matrix that L corresponds to.

Value

a list matrix of equal length numeric vectors, with rows each representing a mesh element vertex, and as many columns as L has elements.


brodieG/shadow documentation built on Aug. 12, 2019, 1:50 p.m.