Class BoundRotation

Direct Known Subclasses:
BoundRotation2D, BoundRotation3D

public abstract class BoundRotation extends AnchorBean<BoundRotation>
Abstract base class for defining bounds on rotations.

This class extends AnchorBean to provide a foundation for various types of rotation bounds.

  • Constructor Details

    • BoundRotation

      public BoundRotation()
  • Method Details

    • randomOrientation

      public abstract Orientation randomOrientation(RandomNumberGenerator randomNumberGenerator, Optional<Resolution> resolution)
      Generates a random orientation within the defined bounds.
      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