28 #ifndef itkPolygonCell_h
29 #define itkPolygonCell_h
52 template <
typename TCellInterface>
67 static constexpr
unsigned int CellDimension = 2;
90 MakeCopy(CellAutoPointer &)
const override;
94 GetDimension()
const override;
97 GetNumberOfPoints()
const override;
100 GetNumberOfBoundaryFeatures(
int dimension)
const override;
103 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
106 SetPointIds(PointIdConstIterator first)
override;
109 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
111 void AddPointId(PointIdentifier);
112 void RemovePointId(PointIdentifier);
114 SetPointIds(
int dummy,
int num, PointIdConstIterator first);
123 SetPointId(
int localId, PointIdentifier)
override;
125 PointIdsBegin()
override;
128 PointIdsBegin()
const override;
131 PointIdsEnd()
override;
134 PointIdsEnd()
const override;
137 virtual CellFeatureCount
138 GetNumberOfVertices()
const;
140 virtual CellFeatureCount
141 GetNumberOfEdges()
const;
144 GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
146 GetEdge(CellFeatureIdentifier, EdgeAutoPointer &);
152 for (PointIdentifier i = 0; i < NumberOfPoints; i++)
168 #ifndef ITK_MANUAL_INSTANTIATION
169 # include "itkPolygonCell.hxx"