Package net.algart.contours
Enum Class InsideContourStatus
- All Implemented Interfaces:
Serializable
,Comparable<InsideContourStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that some point or set of points a subset of the contour (all points lies at some segments of this contour).Indicates that some point or object is a subset of the figure, lying strictly inside some contour, and does not contain points of this contour itself (i.e.Indicates that some point or object has no common points with the figure, lying inside some contour, and also with the contour itself (i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic double
getBoundarySectionSecondEnd
(double boundaryStatus) static double
getInsideSectionWidth
(double insideStatus) boolean
static boolean
isBoundary
(double information) static boolean
isDegeneratedLeftRightBoundary
(double boundaryStatus) static boolean
isHorizontalBoundary
(double boundaryStatus) static boolean
isLeftBoundary
(double boundaryStatus) static boolean
isNormalLeftRightBoundary
(double boundaryStatus) static boolean
isRightBoundary
(double boundaryStatus) boolean
static boolean
isStrictlyInside
(double information) boolean
static boolean
isStrictlyOutside
(double information) boolean
matchesStatus
(double information) static InsideContourStatus
Returns the enum constant of this class with the specified name.static InsideContourStatus
valueOfInformation
(double information) static InsideContourStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSIDE
Indicates that some point or object is a subset of the figure, lying strictly inside some contour, and does not contain points of this contour itself (i.e. at the boundary of this figure). -
BOUNDARY
Indicates that some point or set of points a subset of the contour (all points lies at some segments of this contour). -
OUTSIDE
Indicates that some point or object has no common points with the figure, lying inside some contour, and also with the contour itself (i.e. with the boundary of this figure).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isStrictlyInside
public boolean isStrictlyInside() -
isBoundary
public boolean isBoundary() -
isStrictlyOutside
public boolean isStrictlyOutside() -
matchesStatus
public boolean matchesStatus(double information) -
isStrictlyInside
public static boolean isStrictlyInside(double information) -
isBoundary
public static boolean isBoundary(double information) -
isStrictlyOutside
public static boolean isStrictlyOutside(double information) -
getInsideSectionWidth
public static double getInsideSectionWidth(double insideStatus) -
isHorizontalBoundary
public static boolean isHorizontalBoundary(double boundaryStatus) -
isLeftBoundary
public static boolean isLeftBoundary(double boundaryStatus) -
isRightBoundary
public static boolean isRightBoundary(double boundaryStatus) -
isNormalLeftRightBoundary
public static boolean isNormalLeftRightBoundary(double boundaryStatus) -
isDegeneratedLeftRightBoundary
public static boolean isDegeneratedLeftRightBoundary(double boundaryStatus) -
getBoundarySectionSecondEnd
public static double getBoundarySectionSecondEnd(double boundaryStatus) -
valueOfInformation
-