public static enum PGS_Optimisation.RectPackHeuristic extends Enum<PGS_Optimisation.RectPackHeuristic>
Enum Constant and Description |
---|
BestAreaFit
Packs rectangles such that the wasted/empty area within the bin is minimised.
|
TopRightCornerDistance
Packs rectangles such that the distance between the top-right corner of each
rectangle and that of the bin is maximised.
|
TouchingPerimeter
Packs rectangles such that the total touching perimeter length is maximised.
|
Modifier and Type | Method and Description |
---|---|
static PGS_Optimisation.RectPackHeuristic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PGS_Optimisation.RectPackHeuristic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PGS_Optimisation.RectPackHeuristic BestAreaFit
public static final PGS_Optimisation.RectPackHeuristic TouchingPerimeter
public static final PGS_Optimisation.RectPackHeuristic TopRightCornerDistance
public static PGS_Optimisation.RectPackHeuristic[] values()
for (PGS_Optimisation.RectPackHeuristic c : PGS_Optimisation.RectPackHeuristic.values()) System.out.println(c);
public static PGS_Optimisation.RectPackHeuristic valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.