13 #include <CGAL/boost/graph/Seam_mesh.h> 14 #include <CGAL/Surface_mesh_parameterization/Error_code.h> 15 #include <Eigen/Dense> 16 #include <Euclid/Topology/Chain.h> 28 template<
typename Mesh,
typename DerivedA,
typename DerivedB>
30 Eigen::MatrixBase<DerivedA>& primal,
31 Eigen::MatrixBase<DerivedB>& conjugate);
40 template<
typename Mesh,
typename DerivedA,
typename DerivedB>
42 const VertexChains<Mesh>& homology_generators,
43 Eigen::MatrixBase<DerivedA>& primal,
44 Eigen::MatrixBase<DerivedB>& conjugate);
54 template<
typename Mesh,
61 const Eigen::MatrixBase<Derived>& one_forms,
62 CGAL::Seam_mesh<Mesh, SEM, SVM>& seam_mesh,
70 template<
typename Mesh,
typename SEM,
typename SVM>
74 using TriangleMesh = CGAL::Seam_mesh<Mesh, SEM, SVM>;
75 using halfedge_descriptor =
76 typename boost::graph_traits<TriangleMesh>::halfedge_descriptor;
92 const VertexChains<Mesh>& homology_generators);
102 template<
typename Derived>
103 void set_coeffs(
const Eigen::MatrixBase<Derived>& coeffs);
116 template<
typename VertexUVMap,
117 typename VertexIndexMap,
118 typename VertexParameterizedMap>
119 CGAL::Surface_mesh_parameterization::Error_code
parameterize(
121 halfedge_descriptor bhd,
123 VertexIndexMap vimap,
124 VertexParameterizedMap vpmap);
127 using Scalar =
typename CGAL::Kernel_traits<
typename boost::property_traits<
128 typename boost::property_map<Mesh, boost::vertex_point_t>::type>::
129 value_type>::Kernel::FT;
130 using Vector = Eigen::Matrix<Scalar, Eigen::Dynamic, 1>;
131 using Matrix = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>;
134 const Mesh& _underlying_mesh;
143 #include "src/HolomorphicOneForms.cpp"
void integrate_holomorphic_one_forms(const Mesh &mesh, const Eigen::MatrixBase< Derived > &one_forms, CGAL::Seam_mesh< Mesh, SEM, SVM > &seam_mesh, VertexUVMap uvmap)
Integrate holomorphic 1-forms.
Definition: HolomorphicOneForms.cpp:192
void holomorphic_one_form_basis(const Mesh &mesh, const VertexChains< Mesh > &homology_generators, Eigen::MatrixBase< DerivedA > &primal, Eigen::MatrixBase< DerivedB > &conjugate)
Compute the holomorphic basis.
Definition: HolomorphicOneForms.cpp:132