-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
Hi, I have successfully implemented cgal in java through your project, but I find that in C++ we usually need to select a precision kernel when creating an object such as Polyhedron_3
typedef CGAL::Simple_cartesian<double> Kernel;
//typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
int main() {
Polyhedron P;
}I did not see in the constructor of Polyhedron_3 of the constructed java file that I can customize the Kernel, I can directly create Polyhedron_3 object without input Kernel, how can I define the precision kernel? Hope to get your reply
public Polyhedron_3() {
this(CGAL_Polyhedron_3JNI.new_Polyhedron_3__SWIG_0(), true);
}
public Polyhedron_3(String off_filename) {
this(CGAL_Polyhedron_3JNI.new_Polyhedron_3__SWIG_1(off_filename), true);
}
public Polyhedron_3(long v, long h, long f) {
this(CGAL_Polyhedron_3JNI.new_Polyhedron_3__SWIG_2(v, h, f), true);
}Metadata
Metadata
Assignees
Labels
No labels