Class BoundRotation

Object
org.anchoranalysis.bean.AnchorBean<BoundRotation>
org.anchoranalysis.mpp.bean.bound.rotation.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

  • Method Details

    • randomOrientation

      public abstract org.anchoranalysis.spatial.orientation.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