public static enum KDTreePositions.PositionsLayout extends Enum<KDTreePositions.PositionsLayout>
NESTED layout, positions are stored as a nested double[][] array where positions[d][i] is dimension d of
the i-th point. With FLAT layout, positions are stored as
a flat double[] array, where positions[d + i*n] is
dimension d of the i-th point, with n the number
of dimensions.| Modifier and Type | Method and Description |
|---|---|
static KDTreePositions.PositionsLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KDTreePositions.PositionsLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KDTreePositions.PositionsLayout FLAT
public static final KDTreePositions.PositionsLayout NESTED
public static KDTreePositions.PositionsLayout[] values()
for (KDTreePositions.PositionsLayout c : KDTreePositions.PositionsLayout.values()) System.out.println(c);
public static KDTreePositions.PositionsLayout 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 © 2009–2024 ImgLib2. All rights reserved.