Page MenuHomePhabricator

Wrong description of getBounds in BaseGeometry
Closed, ResolvedPublic

Description

Documentation shows description of "GetTimeBounds" for the method "GetBounds". This is wrong. GetTimeBounds does not exist anymore.

Solution:
Delete the following comment in BaseGeometry.h

//##Documentation
//## @brief Get the time bounds (in ms)
//itkGetConstReferenceMacro(TimeBounds, TimeBounds);

...and... have a look into the #ifdef DOXYGEN_SKIP. Is it necessary? What does it do?

Event Timeline

User goch has pushed new remote branch:

bug-18853-delete-commented-out-code

Core change request flag:
I only deleted commented out lines of code

Regarding the "DOXYGEN_SKIP"

That seems to be a misuse of the macro, as the code is not compiled.

After the release I would suggest checking all instances of DOXYGEN_SKIP and deleting them if applicable. I would not do this now however, as that might result in changed behaviour.