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

rigidbody

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 ) )

shapes

Statistical Shape Analysis

v1.2.6
GPL-2
Authors
Ian L. Dryden
Initial release
2021-03-30

We don't support your browser anymore

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