Package elki.math.geometry
Enum SweepHullDelaunay2D.Orientation
- java.lang.Object
-
- java.lang.Enum<SweepHullDelaunay2D.Orientation>
-
- elki.math.geometry.SweepHullDelaunay2D.Orientation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SweepHullDelaunay2D.Orientation>
- Enclosing class:
- SweepHullDelaunay2D
private static enum SweepHullDelaunay2D.Orientation extends java.lang.Enum<SweepHullDelaunay2D.Orientation>
The possible orientations two triangles can have to each other. (Shared edges must have different directions!)- Author:
- Erich Schubert
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORIENT_AB_AC
ORIENT_AB_BA
ORIENT_AB_CB
ORIENT_BC_AC
ORIENT_BC_BA
ORIENT_BC_CB
ORIENT_CA_AC
ORIENT_CA_BA
ORIENT_CA_CB
-
Constructor Summary
Constructors Modifier Constructor Description private
Orientation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SweepHullDelaunay2D.Orientation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SweepHullDelaunay2D.Orientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIENT_AB_BA
public static final SweepHullDelaunay2D.Orientation ORIENT_AB_BA
-
ORIENT_AB_CB
public static final SweepHullDelaunay2D.Orientation ORIENT_AB_CB
-
ORIENT_AB_AC
public static final SweepHullDelaunay2D.Orientation ORIENT_AB_AC
-
ORIENT_BC_BA
public static final SweepHullDelaunay2D.Orientation ORIENT_BC_BA
-
ORIENT_BC_CB
public static final SweepHullDelaunay2D.Orientation ORIENT_BC_CB
-
ORIENT_BC_AC
public static final SweepHullDelaunay2D.Orientation ORIENT_BC_AC
-
ORIENT_CA_BA
public static final SweepHullDelaunay2D.Orientation ORIENT_CA_BA
-
ORIENT_CA_CB
public static final SweepHullDelaunay2D.Orientation ORIENT_CA_CB
-
ORIENT_CA_AC
public static final SweepHullDelaunay2D.Orientation ORIENT_CA_AC
-
-
Method Detail
-
values
public static SweepHullDelaunay2D.Orientation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SweepHullDelaunay2D.Orientation c : SweepHullDelaunay2D.Orientation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SweepHullDelaunay2D.Orientation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-