Skip to content

Commit 2a47f47

Browse files
committed
STYLE: CoordRepType -> CoordinateType code readability
For the sake of code readability, a new 'CoordinateType' alias is added for each nested 'CoordRepType' alias. The old 'CoordRepType' aliases will still be available with ITK 6.0, but it is recommended to use 'CoordinateType' instead. The 'CoordRepType' aliases will be removed when 'ITK_FUTURE_LEGACY_REMOVE' is enabled. Similarly, 'InputCoordinateType', 'OutputCoordinateType', and 'ImagePointCoordinateType' replace 'InputCoordRepType', 'OutputCoordRepType', and 'ImagePointCoordRepType', respectively.
1 parent 2655a81 commit 2a47f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Mesh/TranslateOneMesh/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ main(int argc, char * argv[])
4646
auto reader = ReaderType::New();
4747
reader->SetFileName(inputFileName);
4848

49-
using TransformType = itk::TranslationTransform<MeshType::PointType::CoordRepType, Dimension>;
49+
using TransformType = itk::TranslationTransform<MeshType::PointType::CoordinateType, Dimension>;
5050
auto translation = TransformType::New();
5151

5252
TransformType::OutputVectorType displacement;

0 commit comments

Comments
 (0)