Class TilingUtil
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public static class TilingUtil
Methods
BoundedCircleTiling2(AxisAlignedBox2d, AxisAlignedBox2d, Double)
hex-grid tiling of circles inside bounds, with spacing between elements
Returns list of translations to element.
Always allows at least one row and column, even if element overflows bounds in that dimension.
Declaration
public static List<Vector2d> BoundedCircleTiling2(AxisAlignedBox2d element, AxisAlignedBox2d bounds, double spacing)
Parameters
Returns
BoundedRegularTiling2(AxisAlignedBox2d, AxisAlignedBox2d, Double)
Regular-grid tiling of element inside bounds, with spacing between elements
Returns list of translations to element.
Always allows at least one row and column, even if element overflows bounds in that dimension.
Declaration
public static List<Vector2d> BoundedRegularTiling2(AxisAlignedBox2d element, AxisAlignedBox2d bounds, double spacing)
Parameters
Returns