writeOFF.h 560 B

1234567891011121314151617181920212223242526
  1. //
  2. // IGL Lib - Simple C++ mesh library
  3. //
  4. // Copyright 2011, Daniele Panozzo. All rights reserved.
  5. #ifndef IGL_WRITEOFF_H
  6. #define IGL_WRITEOFF_H
  7. #include "igl_inline.h"
  8. #include <Eigen/Core>
  9. #include <string>
  10. namespace igl
  11. {
  12. template <typename DerivedV, typename DerivedF>
  13. IGL_INLINE bool writeOFF(
  14. const std::string str,
  15. const Eigen::PlainObjectBase<DerivedV>& V,
  16. const Eigen::PlainObjectBase<DerivedF>& F);
  17. }
  18. #ifdef IGL_HEADER_ONLY
  19. # include "writeOFF.cpp"
  20. #endif
  21. #endif