get_matrix_for_element_type: Get a matrix of data to represent the given element type

Description Usage Arguments Details Value

Description

'mesh3d' objects contain a matrix of vertices and matrix of vertex indicies to describe each element.

Usage

1
get_matrix_for_element_type(obj, element_type, all_vertices = NULL)

Arguments

obj

mesh3d object

element_type

single element type to extract. specify an integer 1:4

all_vertices

normalised matrix of all vertices. If NULL, then will be calculated within this call

Details

This function maps the vertex indices to the actual vertex coordinates and returns a matrix of information to represent each element of the requested type.

Value

numeric matrix representation of the given element type


coolbutuseless/threed documentation built on May 5, 2019, 7:08 a.m.