Skip to content

Instantly share code, notes, and snippets.

@petrasvestartas
Created January 18, 2021 12:55
Show Gist options
  • Save petrasvestartas/10c521c7b2a82ed65536cfe1ebfec200 to your computer and use it in GitHub Desktop.
Save petrasvestartas/10c521c7b2a82ed65536cfe1ebfec200 to your computer and use it in GitHub Desktop.
TestCGAL header
#include <CGAL/Polyhedron_items_with_id_3.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Polyhedron_incremental_builder_3.h>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/boost/graph/split_graph_into_polylines.h>
#include <CGAL/extract_mean_curvature_flow_skeleton.h>
#include <CGAL/Polygon_mesh_processing/corefinement.h>
#include <CGAL/Polyhedron_items_with_id_3.h>
#include <CGAL/compute_average_spacing.h>
#include <CGAL/pca_estimate_normals.h>
#include <CGAL/mst_orient_normals.h>
#include <CGAL/property_map.h>
#include <utility> // defines std::pair
#include <list>
#include <CGAL/poisson_surface_reconstruction.h>
#include <iostream>
#include <fstream>
PINVOKE void ComputePoissonSurfaceReconstruction (
double* p, size_t p_c,
double* n, size_t n_c,
double* c, size_t c_c,
double radius,// = 0.1,
int iterations,// = 30,
int neighbours,// = 100, //reorientation
double*& p_o, int& p_c_o,
double*& n_o, int& n_c_o,
double*& c_o, int& c_c_o
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment