Enum Class RotatingPlanePyramidSource.RotationMode
java.lang.Object
java.lang.Enum<RotatingPlanePyramidSource.RotationMode>
net.algart.matrices.maps.pyramids.io.api.sources.RotatingPlanePyramidSource.RotationMode
- All Implemented Interfaces:
Serializable,Comparable<RotatingPlanePyramidSource.RotationMode>,Constable
- Enclosing class:
- RotatingPlanePyramidSource
public static enum RotatingPlanePyramidSource.RotationMode
extends Enum<RotatingPlanePyramidSource.RotationMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionnet.algart.arrays.Matrix<? extends net.algart.arrays.PArray>asRotated(net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> m) int[]correctDimensions(int[] dimensionsToCorrect) long[]correctDimensions(long[] dimensionsToCorrect) long[]correctFromAndTo(long parentImageWidth, long parentImageHeight, long fromX, long fromY, long toX, long toY) net.algart.math.IPointcorrectPoint(long parentImageWidth, long parentImageHeight, net.algart.math.IPoint point) net.algart.math.IRectangularAreacorrectRectangle(long parentImageWidth, long parentImageHeight, net.algart.math.IRectangularArea rectangle) int[]correctWidthAndHeight(int[] widthAndHeightToCorrect) long[]correctWidthAndHeight(long[] widthAndHeightToCorrect) static booleanisAngleSupported(int clockwiseRotationInDegrees) booleannet.algart.math.functions.LinearOperatoroperator(long width, long height) reverse()intvalueOf(int clockwiseRotationInDegrees) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
CLOCKWISE_90
-
CLOCKWISE_180
-
CLOCKWISE_270
-
-
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
-
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:
clockwiseRotationInDegrees- 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
-
isAngleSupported
public static boolean isAngleSupported(int clockwiseRotationInDegrees) -
rotationInDegrees
public int rotationInDegrees() -
reverse
-
operator
public net.algart.math.functions.LinearOperator operator(long width, long height) -
isSwitchWidthAndHeight
public boolean isSwitchWidthAndHeight() -
correctDimensions
public long[] correctDimensions(long[] dimensionsToCorrect) -
correctDimensions
public int[] correctDimensions(int[] dimensionsToCorrect) -
correctWidthAndHeight
public long[] correctWidthAndHeight(long[] widthAndHeightToCorrect) -
correctWidthAndHeight
public int[] correctWidthAndHeight(int[] widthAndHeightToCorrect) -
correctFromAndTo
public long[] correctFromAndTo(long parentImageWidth, long parentImageHeight, long fromX, long fromY, long toX, long toY) -
correctPoint
public net.algart.math.IPoint correctPoint(long parentImageWidth, long parentImageHeight, net.algart.math.IPoint point) -
correctRectangle
public net.algart.math.IRectangularArea correctRectangle(long parentImageWidth, long parentImageHeight, net.algart.math.IRectangularArea rectangle) -
asRotated
public net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> asRotated(net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> m)
-