v3d.h
Go to the documentation of this file.
85 void r3d_voxelize(r3d_poly* poly, r3d_dvec3 ibox[2], r3d_real* dest_grid, r3d_rvec3 d, r3d_int polyorder);
void r3d_clamp_ibox(r3d_poly *poly, r3d_dvec3 ibox[2], r3d_dvec3 clampbox[2], r3d_rvec3 d)
Get the minimal box of grid indices for a polyhedron, given a grid cell spacing, also clamping it to ...
void r3d_get_ibox(r3d_poly *poly, r3d_dvec3 ibox[2], r3d_rvec3 d)
Get the minimal box of grid indices for a polyhedron, given a grid cell spacing.
void r3d_voxelize(r3d_poly *poly, r3d_dvec3 ibox[2], r3d_real *dest_grid, r3d_rvec3 d, r3d_int polyorder)
Voxelize a polyhedron to the destination grid.
double r3d_real
Real type specifying the precision to be used in calculations.
Definition: r3d.h:40