row_to_point.cpp 281 B

1234567891011
  1. #include "row_to_point.h"
  2. template <
  3. typename Kernel,
  4. typename DerivedV>
  5. IGL_INLINE CGAL::Point_2<Kernel> igl::copyleft::cgal::row_to_point(
  6. const Eigen::PlainObjectBase<DerivedV> & V,
  7. const typename DerivedV::Index & i)
  8. {
  9. return CGAL::Point_2<Kernel>(V(i,0),V(i,1));
  10. }