44 template <
typename TCellInterface>
45 class ITK_TEMPLATE_EXPORT
LineCell :
public TCellInterface
48 ITK_DISALLOW_COPY_AND_MOVE(
LineCell);
63 static constexpr
unsigned int NumberOfPoints = 2;
64 static constexpr
unsigned int NumberOfVertices = 2;
65 static constexpr
unsigned int CellDimension = 1;
74 MakeCopy(CellAutoPointer &)
const override;
78 GetDimension()
const override;
81 GetNumberOfPoints()
const override;
84 GetNumberOfBoundaryFeatures(
int dimension)
const override;
87 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
89 SetPointIds(PointIdConstIterator first)
override;
92 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
95 SetPointId(
int localId, PointIdentifier)
override;
97 PointIdsBegin()
override;
100 PointIdsBegin()
const override;
103 PointIdsEnd()
override;
106 PointIdsEnd()
const override;
109 virtual CellFeatureCount
110 GetNumberOfVertices()
const;
113 GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
124 std::array<PointIdentifier, NumberOfPoints> m_PointIds{ MakeFilled<std::array<PointIdentifier, NumberOfPoints>>(
129 #ifndef ITK_MANUAL_INSTANTIATION
130 # include "itkLineCell.hxx"