Open GoogleCodeExporter opened 8 years ago
Sorry, I didn't find the latest version has already fixed this bug. Now the
problem is that how to output the result to OFF file (I don't know how to pick
up the vertices and facets information from the result). Could anyone help me
to write a output function?
Thanks,
Tang Laoya
void write_off(carve::mesh::MeshSet<3> *poly,char *file)
{
/// how to write this function to pick up the vertices and facets information
from poly?
}
int main()
{
...
carve::mesh::MeshSet<3> *is_poly = carve::csg::CSG().compute(&poly1,
&poly2,
carve::csg::CSG::A_MINUS_B);
file="E:\\Users\\tang\\tang\\mesh\\CSG\\carve-clone\\mytest\\a3.off";
write_off(is_poly,file);
...
}
Original comment by tanglaoy...@gmail.com
on 16 Apr 2014 at 5:13
Problem solved after got latest version.
Thanks
Original comment by tanglaoy...@gmail.com
on 17 Apr 2014 at 5:07
Original issue reported on code.google.com by
tanglaoy...@gmail.com
on 13 Apr 2014 at 8:40