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

View source: R/meshintegrity.r

meshintegrityR Documentation

check if an object of class mesh3d contains valid data

Description

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

Usage

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.


Rvcg documentation built on Feb. 16, 2023, 5:12 p.m.