lexicographic_triangulation.cpp 828 B

123456789101112131415161718192021222324
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
  4. // Qingan Zhou <qnzhou@gmail.com>
  5. //
  6. // This Source Code Form is subject to the terms of the Mozilla Public License
  7. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  8. // obtain one at http://mozilla.org/MPL/2.0/.
  9. #include "lexicographic_triangulation.h"
  10. #include "../../lexicographic_triangulation.h"
  11. #include "orient2D.h"
  12. template<
  13. typename DerivedP,
  14. typename DerivedF
  15. >
  16. IGL_INLINE void igl::copyleft::cgal::lexicographic_triangulation(
  17. const Eigen::PlainObjectBase<DerivedP>& P,
  18. Eigen::PlainObjectBase<DerivedF>& F)
  19. {
  20. typedef typename DerivedP::Scalar Scalar;
  21. igl::lexicographic_triangulation(P, orient2D<Scalar>, F);
  22. }