ON_MassProperties not found in openNURBS 5.0

Hello,

I couldn’t find ‘ON_MassProperties’ related header/API in openNURBS 5.0 C++ SDK. Is it deprecated or moved?

Regards
Mallikarjuna.

If I look into the opennurbs_plus_massprop.h from the Rhino C++ SDK, in which ON_MassProperties is defined, it says the following at the start of the header. I don’t think that ON_MassProperties is a part of the open source part of OpenNurbs.

#if !defined(OPENNURBS_PLUS) || !defined(OPENNURBS_PLUS_INC_) || defined(OPENNURBS_PUBLIC_RELEASE)
#error This file should not be distributed with the public opennurbs source code toolkit.
#endif

opennurbs_massprop.h and opennurbs_massprop.cpp were part of openNURBS 4.0 C++ SDK. It seems now they are no more open source part of openNurbs.

Exactly.

I don’t think the actual calculation code was ever part of OpenNURBS.

http://wiki.mcneel.com/developer/opennurbs/limitations