Class BoundRotation3D


public class BoundRotation3D extends BoundRotation
Creates a randomly-generated orientation in 3D based upon Euler Angles
Author:
Owen Feehan
  • Constructor Details

    • BoundRotation3D

      public BoundRotation3D()
  • Method Details

    • randomOrientation

      public Orientation randomOrientation(RandomNumberGenerator randomNumberGenerator, Optional<Resolution> resolution)
      Description copied from class: BoundRotation
      Generates a random orientation within the defined bounds.
      Specified by:
      randomOrientation in class BoundRotation
      Parameters:
      randomNumberGenerator - the random number generator to use
      resolution - an optional resolution to consider when generating the orientation
      Returns:
      a randomly generated Orientation within the defined bounds
    • describeBean

      public String describeBean()
      Description copied from class: AnchorBean
      A (maybe longer) description identifying the bean and perhaps its key parameters.

      By default, it returns the same as AnchorBean.getBeanName() but beans can optionally override it

      Overrides:
      describeBean in class AnchorBean<BoundRotation>
      Returns:
      either the short-name of the bean, or a longer description
    • getRotationX

      public Bound getRotationX()
    • setRotationX

      public void setRotationX(Bound rotationX)
    • getRotationY

      public Bound getRotationY()
    • setRotationY

      public void setRotationY(Bound rotationY)
    • getRotationZ

      public Bound getRotationZ()
    • setRotationZ

      public void setRotationZ(Bound rotationZ)