diff --git a/api/src/main/java/com/github/skjolber/packing/api/SupportedPlacement3D.java b/api/src/main/java/com/github/skjolber/packing/api/SupportedPlacement3D.java index ec2bd723..3d897f46 100644 --- a/api/src/main/java/com/github/skjolber/packing/api/SupportedPlacement3D.java +++ b/api/src/main/java/com/github/skjolber/packing/api/SupportedPlacement3D.java @@ -2,6 +2,8 @@ import java.util.List; +import com.github.skjolber.packing.api.Surface.Label; + public interface SupportedPlacement3D extends Placement3D { List getBottomSupports(); @@ -16,4 +18,6 @@ public interface SupportedPlacement3D extends Placement3D { List getRearSupports(); + List getSupports(Label label); + } diff --git a/api/src/main/java/com/github/skjolber/packing/api/SupportedStackPlacement.java b/api/src/main/java/com/github/skjolber/packing/api/SupportedStackPlacement.java new file mode 100644 index 00000000..7eea82b1 --- /dev/null +++ b/api/src/main/java/com/github/skjolber/packing/api/SupportedStackPlacement.java @@ -0,0 +1,16 @@ +package com.github.skjolber.packing.api; + +public class SupportedStackPlacement extends StackPlacement { + + private static final long serialVersionUID = 1L; + + public SupportedStackPlacement() { + super(); + } + + public SupportedStackPlacement(Stackable stackable, StackValue value, int x, int y, int z) { + super(stackable, value, x, y, z); + } + + +}