vect2mat: Takes a 12 coordinates vector and returns a 4x4 matrix

Description Usage Arguments Value Examples

Description

Takes a 12 coordinates vector and returns a 4x4 matrix

Usage

1
vect2mat(affine_vect)

Arguments

affine_vect

affine transform vector with 12 indices. The vector store the “top” three rows for the 4x4 affine matrix, in a "row major" fashion.

Value

a 4x4 affine transform matrix, with the top three rows and a last row containing 0,0,0,1

Examples

1
vect2mat(1:12)

marionlouveaux/mamut2r documentation built on May 20, 2019, 9:55 a.m.