Enum Triangle2afp.TriangleFeature
- java.lang.Object
-
- java.lang.Enum<Triangle2afp.TriangleFeature>
-
- org.arakhne.afc.math.geometry.d2.afp.Triangle2afp.TriangleFeature
-
- All Implemented Interfaces:
Serializable
,Comparable<Triangle2afp.TriangleFeature>
- Enclosing interface:
- Triangle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Triangle2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
public static enum Triangle2afp.TriangleFeature extends Enum<Triangle2afp.TriangleFeature>
Features of a triangle.- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST_CORNER
The first triangle point.FIRST_SEGMENT
The first triangle segment.INSIDE
Inside of the triangle.SECOND_CORNER
The second triangle point.SECOND_SEGMENT
The second triangle segment.THIRD_CORNER
The third triangle point.THIRD_SEGMENT
The third triangle segment.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Triangle2afp.TriangleFeature
valueOf(String name)
Returns the enum constant of this type with the specified name.static Triangle2afp.TriangleFeature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSIDE
public static final Triangle2afp.TriangleFeature INSIDE
Inside of the triangle.
-
FIRST_CORNER
public static final Triangle2afp.TriangleFeature FIRST_CORNER
The first triangle point.
-
SECOND_CORNER
public static final Triangle2afp.TriangleFeature SECOND_CORNER
The second triangle point.
-
THIRD_CORNER
public static final Triangle2afp.TriangleFeature THIRD_CORNER
The third triangle point.
-
FIRST_SEGMENT
public static final Triangle2afp.TriangleFeature FIRST_SEGMENT
The first triangle segment.
-
SECOND_SEGMENT
public static final Triangle2afp.TriangleFeature SECOND_SEGMENT
The second triangle segment.
-
THIRD_SEGMENT
public static final Triangle2afp.TriangleFeature THIRD_SEGMENT
The third triangle segment.
-
-
Method Detail
-
values
public static Triangle2afp.TriangleFeature[] 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 (Triangle2afp.TriangleFeature c : Triangle2afp.TriangleFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Triangle2afp.TriangleFeature valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-