vNd.h
Go to the documentation of this file.
85 void rNd_voxelize(rNd_poly* poly, rNd_dvec ibox[2], rNd_real* dest_grid, rNd_rvec d, rNd_int polyorder);
void rNd_clamp_ibox(rNd_poly *poly, rNd_dvec ibox[2], rNd_dvec clampbox[2], rNd_rvec d)
Get the minimal box of grid indices for a polyhedron, given a grid cell spacing, also clamping it to ...
double rNd_real
Real type specifying the precision to be used in calculations.
Definition: rNd.h:52
void rNd_get_ibox(rNd_poly *poly, rNd_dvec ibox[2], rNd_rvec d)
Get the minimal box of grid indices for a polyhedron, given a grid cell spacing.
Interface for rNd.
void rNd_voxelize(rNd_poly *poly, rNd_dvec ibox[2], rNd_real *dest_grid, rNd_rvec d, rNd_int polyorder)
Voxelize a polyhedron to the destination grid.