rigidbody {shapes}R Documentation

Rigid body transformations

Description

Applies a rigid body transformations to a landmark configuration or array

Usage

rigidbody(X,transx=0,transy=0,transz=0,thetax=0,thetay=0,thetaz=0)

Arguments

X

k x m matrix, or k x m x n array where k = number of landmarks and m = no of dimensions and n is no of specimens

transx

negative shift in x-coordinates

transy

negative shift in y-coordinates

transz

negative shift in z-coordinates

thetax

Rotation about x-axis in degrees

thetay

Rotation about y-axis in degrees

thetaz

Rotation about z-axis in degrees

Value

The transformed coordinates (X - trans) Rx Ry Rz

Author(s)

Ian Dryden

Examples

data(gorf.dat)
plotshapes ( rigidbody(gorf.dat , 0, 0, 0, 0, 0, -90 ) )

[Package shapes version 1.2.7 Index]