Class MarkBounds

Object
org.anchoranalysis.bean.AnchorBean<MarkBounds>
org.anchoranalysis.mpp.bean.bound.MarkBounds
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Bound

public abstract class MarkBounds
extends AnchorBean<MarkBounds>
implements Serializable
Abstract base class for defining bounds on marks in a marked point process.

This class extends AnchorBean and implements Serializable to provide a foundation for various types of bounds that can be applied to marks.

See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getMinResolved

      public abstract double getMinResolved​(Optional<Resolution> resolution, boolean do3D)
      Gets the resolved minimum value of the bound, considering resolution and dimensionality.
      Parameters:
      resolution - an optional resolution to consider when resolving the bound
      do3D - whether to consider 3D resolution (if available)
      Returns:
      the resolved minimum value
    • getMaxResolved

      public abstract double getMaxResolved​(Optional<Resolution> resolution, boolean do3D)
      Gets the resolved maximum value of the bound, considering resolution and dimensionality.
      Parameters:
      resolution - an optional resolution to consider when resolving the bound
      do3D - whether to consider 3D resolution (if available)
      Returns:
      the resolved maximum value
    • calculateMinMax

      public ResolvedBound calculateMinMax​(Optional<Resolution> resolution, boolean do3D)
      Calculates the resolved minimum and maximum values as a ResolvedBound.
      Parameters:
      resolution - an optional resolution to consider when resolving the bound
      do3D - whether to consider 3D resolution (if available)
      Returns:
      a ResolvedBound containing the resolved minimum and maximum values