Skip to content

Commit

Permalink
COMP: Adding itkLegacyMacro wrapping to ComputeTangentAndNormals()
Browse files Browse the repository at this point in the history
  • Loading branch information
aylward committed Dec 3, 2020
1 parent 1435bf5 commit 229fa44
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Modules/Core/SpatialObjects/include/itkTubeSpatialObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ class ITK_TEMPLATE_EXPORT TubeSpatialObject : public PointBasedSpatialObject<TDi
bool
ComputeTangentsAndNormals();

#if !defined(ITK_LEGACY_REMOVE)
/** Calculate the normalized tangent - Old spelling of function name */
bool
ComputeTangentAndNormals()
{
return ComputeTangentsAndNormals();
}
itkLegacyMacro(bool ComputeTangentAndNormals()) { return ComputeTangentsAndNormals(); }
#endif

/** Remove duplicate points */
unsigned int
Expand Down

0 comments on commit 229fa44

Please sign in to comment.