Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support region sampling code #37
PointSets grew out of a few needs but one being the ability to sample a region at integral spacings. In implementing the code for #1523 it occurred to me that this might be the relationship between RegionOfInterest and PointSet.
It would be nice to specify Samplings which can return sets of coordinates in either real or integer coordinate spaces as needed.
Our current HyperVolumePointSet could instead be a RegularGridSampling at integral coordinates. Samplings could be composites (so they could support the complement, intersection, union, difference operations). They may refer to a RegionOfInterest but maybe instead to a space (with some default spaces defined and at least one class that treats a RegionOfInterest as a space).