public static enum LabelMapToPolygons.VertexLocation extends Enum<LabelMapToPolygons.VertexLocation>
| Enum Constant and Description |
|---|
CORNER
The polygon surrounds completely the square areas of the pixels.
|
EDGE_CENTER
The polygon follows the pixel sides, but joining the centers of pixel
edges instead of their extremities.
|
PIXEL
The polygon joins the centers of the pixels, resulting in a very
tight polygon.
|
| Modifier and Type | Method and Description |
|---|---|
static LabelMapToPolygons.VertexLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelMapToPolygons.VertexLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelMapToPolygons.VertexLocation CORNER
public static final LabelMapToPolygons.VertexLocation EDGE_CENTER
public static final LabelMapToPolygons.VertexLocation PIXEL
public static LabelMapToPolygons.VertexLocation[] values()
for (LabelMapToPolygons.VertexLocation c : LabelMapToPolygons.VertexLocation.values()) System.out.println(c);
public static LabelMapToPolygons.VertexLocation 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 © 2014–2024 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.