- java.lang.Object
-
- java.lang.Enum<Path3D.ArcType>
-
- org.arakhne.afc.math.geometry.d3.Path3D.ArcType
-
- All Implemented Interfaces:
Serializable
,Comparable<Path3D.ArcType>
- Enclosing interface:
- Path3D<ST extends Shape3D<?,?,I,P,V,B>,IT extends Shape3D<?,?,I,P,V,B>,I extends PathIterator3D<?>,P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>,B extends Shape3D<?,?,I,P,V,B>>
public static enum Path3D.ArcType extends Enum<Path3D.ArcType>
Type of drawing to used when drawing an arc.- Since:
- 13.0
- 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 ARC_ONLY
Draw only the ellipse arc.LINE_THEN_ARC
Draw a line to and the ellipse arc.MOVE_THEN_ARC
Move to and draw the ellipse arc.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Path3D.ArcType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Path3D.ArcType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARC_ONLY
public static final Path3D.ArcType ARC_ONLY
Draw only the ellipse arc.
-
MOVE_THEN_ARC
public static final Path3D.ArcType MOVE_THEN_ARC
Move to and draw the ellipse arc.
-
LINE_THEN_ARC
public static final Path3D.ArcType LINE_THEN_ARC
Draw a line to and the ellipse arc.
-
-
Method Detail
-
values
public static Path3D.ArcType[] 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 (Path3D.ArcType c : Path3D.ArcType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Path3D.ArcType 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
-
-