API 설명서 > View manager > Object ProXsec > Function ProXsecMassPropertyCompute
Function ProXsecMassPropertyCompute
Description
Compute the mass properties of the cross-section in the specified coordinate system.
Note:
Not supported for offset or quilt cross-sections.
Replacement in Object TOOLKIT:
Synopsis
#include <ProXsec.h>
ProXsecMassPropertyCompute
(
ProXsec* xsec
/* (In)
Cross-section
*/
ProName csys_name
/* (In)
Name of reference coordinate system
*/
ProMassProperty* p_mass_prop
/* (Out)
The following results are returned for cross sections: Value Returned Structure Field Used area surface_area center_of_gravity center_of_gravity[0] and center_of_gravity[1] coor_sys_inertia coor_sys_inertia[0][0], coor_sys_inertia[0][1], coor_sys_inertia[1][0], coor_sys_inertia[1][1]
*/
)
Returns
Data successfully computed.
Invalid input parameter(s).
Sample Code References
User Guide References
도움이 되셨나요?