Enum Segment2afp.UncertainIntersection
- java.lang.Object
-
- java.lang.Enum<Segment2afp.UncertainIntersection>
-
- org.arakhne.afc.math.geometry.d2.afp.Segment2afp.UncertainIntersection
-
- All Implemented Interfaces:
Serializable
,Comparable<Segment2afp.UncertainIntersection>
- Enclosing interface:
- Segment2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Segment2afp<?,?,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 Segment2afp.UncertainIntersection extends Enum<Segment2afp.UncertainIntersection>
Result of the intersection between segments in a context where a single test is not enough.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND
- See Also:
Segment2afp.findsUncertainIntersectionSegmentSegmentWithEnds(double, double, double, double, double, double, double, double)
,Segment2afp.findsUncertainIntersectionSegmentSegmentWithoutEnds(double, double, double, double, double, double, double, double)
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
booleanValue()
Replies the boolean representation of the constant.static Segment2afp.UncertainIntersection
fromBoolean(boolean value)
Replies the UncertainIntersection for the given boolean.static Segment2afp.UncertainIntersection
valueOf(String name)
Returns the enum constant of this type with the specified name.static Segment2afp.UncertainIntersection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO
public static final Segment2afp.UncertainIntersection NO
No intersection, certainly.
-
PERHAPS
public static final Segment2afp.UncertainIntersection PERHAPS
Intersection, uncertainly.
-
-
Method Detail
-
values
public static Segment2afp.UncertainIntersection[] 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 (Segment2afp.UncertainIntersection c : Segment2afp.UncertainIntersection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Segment2afp.UncertainIntersection 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
-
fromBoolean
public static Segment2afp.UncertainIntersection fromBoolean(boolean value)
Replies the UncertainIntersection for the given boolean.- Parameters:
value
- the boolean value.- Returns:
- the UncertainIntersection.
-
booleanValue
public abstract boolean booleanValue()
Replies the boolean representation of the constant.- Returns:
- the boolean representation.
-
-