예제 #1
0
Nef_polyhedron_3 build_polyhedron(Array points, Array faces){
	Polyhedron_builder<HalfedgeDS> pb(points, faces);
	Polyhedron_3 P;
	P.delegate(pb);
	Nef_polyhedron_3 N(P);
	return N;
}
예제 #2
0
Nef_polyhedron_3 to_nef(Iso_cuboid_3 cuboid){
	Cube_builder<HalfedgeDS> builder(cuboid);
	Polyhedron_3 P;
	P.delegate(builder);
	return Nef_polyhedron_3(P);
}