pieper / cvg

constructive volume geometry tool
0 stars 1 forks source link

handle dimensions/spacing != int #7

Open bebbi opened 9 years ago

bebbi commented 9 years ago

this leads to non-integer dimensions and bad array pointers. some ideas:

pieper commented 9 years ago

Makes sense - we should only allow setting combinations of options that lead to a well-formed grid. Setting from the bounding box will be good, but there will also be some subtrees where the bounding box cannot be known until the sampling is defined (i.e. if they contain some kinds of nonlinear transforms).