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>
  • Enum Constant Details

  • Method Details

    • values

      public static RotatingPlanePyramidSource.RotationMode[] 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

      public static RotatingPlanePyramidSource.RotationMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOf

      public static RotatingPlanePyramidSource.RotationMode valueOf(int clockwiseRotationInDegrees)
      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 name
      NullPointerException - 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)