get_mass_props {massProps}R Documentation

Get mass properties for a row in a data frame

Description

get_mass_props() creates a mass properties list from a selected row in a data frame.

Usage

get_mass_props(df, id)

Arguments

df

A data frame with (at least) these columns: id, mass, Cx, Cy, Cz, Ixx, Iyy, Izz, Ixy, Ixz, Iyz, POIconv, Ipoint.

id

The id value of the desired row.

Value

A list with the following named elements:

Examples

get_mass_props(mp_table, "C.1.2.2.3.1.2.3")


[Package massProps version 0.3.3 Index]