SAnsell / CombLayer

MCNP(X) project builder using C++
GNU General Public License v3.0
14 stars 13 forks source link

FixedComp :: SignedLinkPt #78

Open SAnsell opened 6 years ago

SAnsell commented 6 years ago

The WHOLE of the FixedComp::getSignXXX system has been replaced by the equivalent getXXX In partictular:

getSignedLinkPt(const long int) const ---> getLinkPt(const long int) const getSignedLinkAxis(const long int) const ---> getLinkAxis(const long int) const getSignedLinkSurf(const long int) const ---> getLinkSurf(const long int) const getSignedCommonSurf(const long int) const ---> getCommonSurf(const long int) const getSignedMainRule(const long int) const ---> getMainRule(const long int) const getSignedFullRule(const long int) const ----> getFullRule(const long int) const

This is because the long int form is much more expressive and causes confusion with the size_t form. The size_t form exists but is only in the private and protected region of FixedComp and now have the designation getUSXXX if you need to refer to them.

This is likely to cause a few problems and confusion in the short term. Any problems please just add comment below and I will try to fix/help.