morphomapMoment: morphomapMoment

View source: R/morphomapMoment.R

morphomapMomentR Documentation

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)

Arguments

cp

matrix: coordinates of the external outline

mp

matrix: coordinates of the internal outline

delta

numeric: picture elements of adjustable side length

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

Author(s)

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

Examples

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

morphomap documentation built on Oct. 10, 2023, 1:08 a.m.