message: Added static assert for T, NDIMS, removed unnecessary header
diff: #include "axom/primal/operators/squared_distance.hpp"
  -#include "fmt/fmt.hpp"
  #include <vector>
  #include <ostream>
  @@ -77,6 +76,10 @@ public:
  */
  explicit BezierCurve(int ord = -1)
  {
  + AXOM_STATIC_ASSERT_MSG( (NDIMS==2) || (NDIMS==3),
  + "A Bezier Curve object may be defined in 2-D or 3-D" );
  + AXOM_STATIC_ASSERT_MSG( std::is_arithmetic<T>::value,
  + "A Bezier Curve must be defined using an arithmetic type" );
  SLIC_ASSERT(ord >= -1);
  const int sz = utilities::max(-1, ord+1);
  m_controlPoints.resize(sz);
  @@ -96,6 +99,10 @@ public:
  */
  BezierCurve(T* pts, int ord)
  {
  + AXOM_STATIC_ASSERT_MSG( (NDIMS==2) || (NDIMS==3),
  + "A Bezier Curve object may be defined in 2-D or 3-D" );
  + AXOM_STATIC_ASSERT_MSG( std::is_arithmetic<T>::value,
  + "A Bezier Curve must be defined using an arithmetic type" );
  SLIC_ASSERT(pts != nullptr);
  SLIC_ASSERT(ord >= 0);
  @@ -123,6 +130,10 @@ public:
  BezierCurve(PointType* pts, int ord)
  {
  + AXOM_STATIC_ASSERT_MSG( (NDIMS==2) || (NDIMS==3),
  + "A Bezier Curve object may be defined in 2-D or 3-D" );
  + AXOM_STATIC_ASSERT_MSG( std::is_arithmetic<T>::value,
  + "A Bezier Curve must be defined using an arithmetic type" );
  SLIC_ASSERT(pts != nullptr);
  SLIC_ASSERT(ord >= 0);
  