Skip to content

Commit

Permalink
COMP: Replace "CoordRep" with "Coordinate" in Examples
Browse files Browse the repository at this point in the history
Addressed a compile error at Mac12.x-AppleClang-dbg-Universal saying:

> MeshSpatialObject.cxx:66:13: error: no type named 'CoordRepType' in
> 'itk::Mesh<float, 3, itk::DefaultDynamicMeshTraits<float, 3>>'

Reported by Jon Haitz Legarreta Gorroño.

- Follow-up to pull request InsightSoftwareConsortium#4997
commit 15d189f
"STYLE: Replace CoordRepType with CoordinateType in ITK implementation"
  • Loading branch information
N-Dekker committed Dec 2, 2024
1 parent 93b1e4f commit 8af2581
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Examples/DataRepresentation/Mesh/MeshTraits.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ main(int, char *[])
// \item[PixelType.] The value type associated with every point.
// \item[PointDimension.] The dimension of the space in which the mesh is
// embedded. \item[MaxTopologicalDimension.] The highest dimension of the
// mesh cells. \item[CoordRepType.] The type used to represent spacial
// mesh cells. \item[CoordinateType.] The type used to represent spacial
// coordinates. \item[InterpolationWeightType.] The type used to represent
// interpolation weights. \item[CellPixelType.] The value type associated
// with every cell. \end{description}
Expand Down
2 changes: 1 addition & 1 deletion Examples/SpatialObjects/MeshSpatialObject.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ main(int, char *[])
// Software Guide : BeginCodeSnippet
auto myMesh = MeshType::New();

MeshType::CoordRepType testPointCoords[4][3] = {
MeshType::CoordinateType testPointCoords[4][3] = {
{ 0, 0, 0 }, { 9, 0, 0 }, { 9, 9, 0 }, { 0, 0, 9 }
};

Expand Down
2 changes: 1 addition & 1 deletion Examples/Statistics/PointSetToListSampleAdaptor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ main()
// dimension, we have to modify the \code{TMeshTraits} (one of the optional
// template arguments for the \code{PointSet} class). The easiest way of
// creating a custom mesh traits instance is to specialize the existing
// \doxygen{DefaultStaticMeshTraits}. By specifying the \code{TCoordRep}
// \doxygen{DefaultStaticMeshTraits}. By specifying the \code{TCoordinate}
// template argument, we can change the coordinate value type of a point.
// By specifying the \code{VPointDimension} template argument, we can
// change the dimension of the point. As mentioned earlier, a
Expand Down

0 comments on commit 8af2581

Please sign in to comment.