meshintegrity: check if an object of class mesh3d contains valid data

Description Usage Arguments Value

View source: R/meshintegrity.r

Description

checks for existance and validity of vertices, faces and vertex normals of an object of class "mesh3d"

Usage

1
meshintegrity(mesh, facecheck = FALSE, normcheck = FALSE)

Arguments

mesh

object of class mesh3d

facecheck

logical: check the existence of valid triangular faces

normcheck

logical: check the existence of valid normals

Value

if mesh data are valid, the mesh is returned, otherwise it stops with an error message.


zarquon42b/Rvcg documentation built on Jan. 17, 2019, 9:10 a.m.