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

vcgCurve

calculate curvature of a triangular mesh


Description

calculate curvature of faces/vertices of a triangular mesh using various methods.

Usage

vcgCurve(mesh)

Arguments

mesh

triangular mesh (object of class 'mesh3d')

Value

gaussvb

per vertex gaussian curvature

meanvb

per vertex mean curvature

RMSvb

per vertex RMS curvature

gaussitmax

per face maximum gaussian curvature of adjacent vertices

borderit

per face information if it is on the mesh's border (0=FALSE, 1=TRUE)

bordervb

per vertex information if it is on the mesh's border (0=FALSE, 1=TRUE)

meanitmax

per face maximum mean curvature of adjacent vertices

K1

Principal Curvature 1

K2

Principal Curvature 2

Examples

data(humface)
curv <- vcgCurve(humface)
##visualise per vertex mean curvature
## Not run: 
require(Morpho)
meshDist(humface,distvec=curv$meanvb,from=-0.2,to=0.2,tol=0.01)

## End(Not run)

Rvcg

Manipulations of Triangular Meshes Based on the 'VCGLIB' API

v0.19.2
GPL (>= 2) | file LICENSE
Authors
Stefan Schlager [aut, cre, cph], Girinon Francois [ctb]
Initial release
2021-01-11

We don't support your browser anymore

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