Class MarkBounds
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Bound
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateMinMax
(Optional<Resolution> resolution, boolean do3D) Calculates the resolved minimum and maximum values as aResolvedBound
.abstract double
getMaxResolved
(Optional<Resolution> resolution, boolean do3D) Gets the resolved maximum value of the bound, considering resolution and dimensionality.abstract double
getMinResolved
(Optional<Resolution> resolution, boolean do3D) Gets the resolved minimum value of the bound, considering resolution and dimensionality.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
MarkBounds
public MarkBounds()
-
-
Method Details
-
getMinResolved
Gets the resolved minimum value of the bound, considering resolution and dimensionality.- Parameters:
resolution
- an optional resolution to consider when resolving the bounddo3D
- whether to consider 3D resolution (if available)- Returns:
- the resolved minimum value
-
getMaxResolved
Gets the resolved maximum value of the bound, considering resolution and dimensionality.- Parameters:
resolution
- an optional resolution to consider when resolving the bounddo3D
- whether to consider 3D resolution (if available)- Returns:
- the resolved maximum value
-
calculateMinMax
Calculates the resolved minimum and maximum values as aResolvedBound
.- Parameters:
resolution
- an optional resolution to consider when resolving the bounddo3D
- whether to consider 3D resolution (if available)- Returns:
- a
ResolvedBound
containing the resolved minimum and maximum values
-