hop

parent 74f86eac
......@@ -10,7 +10,6 @@
#include "GModelIO_GEO.h"
#include "Geo.h"
#include "Context.h"
#include "OS.h"
#include "MPoint.h"
#include "MElementOctree.h"
......@@ -1095,6 +1094,12 @@ HXTStatus discreteFace::reparametrize_through_hxt()
&nodes, &uv, &nc,&m));
HXT_CHECK(hxtParametrizationWrite(parametrization, "hop"));
// compute curvatures
HXTEdges* edges;
double *crossField,*nodalCurvatures;
HXT_CHECK(hxtEdgesCreate(m,&edges));
HXT_CHECK(hxtCurvatureRusinkiewicz (m, &nodalCurvatures, &crossField, edges, true));
_parametrizations.resize(nc);
std::vector<std::vector<MEdge> > boundaries (nc);
std::vector<std::vector<MEdge> > internals (nc);
......
......@@ -23,6 +23,7 @@ extern "C" {
#include "hxt_mesh.h"
#include "hxt_parametrization.h"
#include "hxt_linear_system.h"
#include "hxt_curvature.h"
}
class hxt_reparam_surf {
public:
......
......@@ -6,6 +6,7 @@
set(SRC
hxt_bbox.c
hxt_context.c
hxt_curvature.c
hxt_edge.c
hxt_linear_system.c
hxt_linear_system_lu.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment