35 template <
class TCoordRep,
unsigned int NPo
intDimension = 3>
36 class Point :
public itk::Point<TCoordRep, NPointDimension>
42 template <
typename TPo
intValueType>
47 template <
typename TPo
intValueType>
48 explicit Point(
const TPointValueType r[NPointDimension]) :
itk::
Point<TCoordRep, NPointDimension>(r)
52 template <
typename TPo
intValueType>
53 explicit Point(
const TPointValueType &v) :
itk::
Point<TCoordRep, NPointDimension>(v)
58 :
itk::
Point<TCoordRep, NPointDimension>(r)
64 :
itk::
Point<TCoordRep, NPointDimension>(p)
74 template <
typename ArrayType>
77 itk::FixedArray<TCoordRep, NPointDimension> *thisP =
78 dynamic_cast<itk::FixedArray<TCoordRep, NPointDimension> *
>(
this);
79 mitk::FillArray<ArrayType, TCoordRep, NPointDimension>(*thisP, array);
87 template <
typename ArrayType>
90 mitk::ToArray<ArrayType, TCoordRep, NPointDimension>(array, *
this);
111 template <
typename TCoordRep,
unsigned int NPo
intDimension>
112 inline bool Equal(
const itk::Point<TCoordRep, NPointDimension> &point1,
113 const itk::Point<TCoordRep, NPointDimension> &point2,
115 bool verbose =
false)
118 typename itk::Point<TCoordRep, NPointDimension>::VectorType diff = point1 - point2;
119 for (
unsigned int i = 0; i < NPointDimension; i++)