Learn R Programming

morphomap (version 1.5)

morphomapMoment: morphomapMoment

Description

Calculate the moment of inertia around the x and y axes and the product of inertia

Usage

morphomapMoment(cp, mp, delta = 0.1)

Value

Ix numeric: moment of inertia around the x axis

Iy numeric: moment of inertia around the y axis

Ixy numeric: product of inertia around the x and y axis

Arguments

cp

matrix: coordinates of the external outline

mp

matrix: coordinates of the internal outline

delta

numeric: picture elements of adjustable side length

Author

Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi

Examples

Run this code
#create a section
extsec<-morphomapCircle(10,1000)
intsec<-morphomapCircle(8,1000)
InMs<-morphomapMoment(extsec,intsec,delta=0.1)

Run the code above in your browser using DataLab