Class RadiiProposer
- All Implemented Interfaces:
CompatibleWithMark
An abstract base class for proposing radii in a 3D space.
This class extends MarksBean and implements CompatibleWithMark, providing a foundation for creating radii proposers in the MPP (Marked Point Process) framework.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpropose
(Point3d position, RandomNumberGenerator randomNumberGenerator, Dimensions dimensions, Orientation orientation) Proposes a new point representing radii based on the given parameters.Methods inherited from class org.anchoranalysis.mpp.bean.MarksBean
initializerForMarksBeans
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.anchoranalysis.mpp.mark.CompatibleWithMark
isCompatibleWith
-
Constructor Details
-
RadiiProposer
public RadiiProposer()
-
-
Method Details
-
propose
public abstract Optional<Point3d> propose(Point3d position, RandomNumberGenerator randomNumberGenerator, Dimensions dimensions, Orientation orientation) throws ProposalAbnormalFailureException Proposes a new point representing radii based on the given parameters.When no bounds are provided, bounds should be created from a bound calculator.
- Parameters:
position
- the position for which to propose radiirandomNumberGenerator
- a random number generator for any stochastic processesdimensions
- the dimensions of the space in which the radii are proposedorientation
- the orientation to consider when proposing radii- Returns:
- an Optional containing the proposed Point3d representing radii, or empty if no proposal is made
- Throws:
ProposalAbnormalFailureException
- if the proposal fails abnormally
-