Class CutOffCornersObjectFixture

Object
CutOffCornersObjectFixture

public class CutOffCornersObjectFixture extends Object
Creates one or more objects that are otherwise rectangles with on values, but with corner voxels as off.
Author:
Owen Feehan
  • Constructor Details

    • CutOffCornersObjectFixture

      public CutOffCornersObjectFixture()
      Create without any check on dimensions.
    • CutOffCornersObjectFixture

      public CutOffCornersObjectFixture(Dimensions dimensions)
      Create with any check on dimensions.
      Parameters:
      dimensions - a check occurs to make sure objects fit inside these dimensions.
  • Method Details

    • create1

      public ObjectMask create1()
      Create the first object.
      Returns:
      a newly created object.
    • create2

      public ObjectMask create2()
      Create the second object.
      Returns:
      a newly created object.
    • create3

      public ObjectMask create3()
      Create the third object.
      Returns:
      a newly created object.
    • createAll

      public ObjectCollection createAll()
      Creates all three objects.
      Returns:
      collection of newly created objects.