reflectface: Reflect face

View source: R/facer.R

reflectfaceR Documentation

Reflect face

Description

Reflect face by multiplying lateral direction by -1 and swapping the tags of paired markers

Usage

reflectface(sm, mfconfig)

Arguments

sm

face matrix

mfconfig

face config info including left right pairs

Details

This function will work best when the face is centered with zero on the midplane (lateral direction is tangent to this). But this is not essential as reflection will happen anyway although the face may need to be translated and/or rotated to match it up with the original face.

Value

a face matrix


julianfaraway/facer documentation built on Dec. 4, 2023, 9:34 p.m.