Add support for polygons
The strategy in the
QuadrilateralSampler could/should be improved, as currently, non-convex quadrilaterals can result from sampling. This can cause the
Line-PlanarGeometry algorithm to fail, as it expects convex planar geometries.
- We could substitute the algorithm in
QuadrilateralSamplerby a generic algorithm to sample convex polygons. Quadrilaterals could then be a special case of polygon.
- We should either support non-convex planar geometries, or rename the function and/or variables such that it is clear that the algorithm is for convex shapes.