Class Circle
- All Implemented Interfaces:
Serializable
Represents a 2D circle mark.
This class extends MarkWithPositionAndSingleRadius
to provide functionality specific
to circular marks.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.mpp.mark.conic.MarkWithPositionAndSingleRadius
box, boxAllRegions, equalsDeep, getBoundRadius, getRadius, isPointInside, numberRegions, quickOverlap, radiusForRegion, radiusForRegionSquared, scale, setRadius, strMarks
Methods inherited from class org.anchoranalysis.mpp.mark.MarkWithPosition
centerPoint, getPosition, positionString, setPosition
Methods inherited from class org.anchoranalysis.mpp.mark.Mark
deriveObject, equalsID, getIdentifier, identifier, setId
-
Constructor Details
-
Circle
Creates a circle with a radius within particular bounds.- Parameters:
boundRadius
- the bound for the circle's radius
-
Circle
Copy constructor.- Parameters:
source
- the Circle to copy from
-
Circle
public Circle()
-
-
Method Details
-
getName
Description copied from class:Mark
Returns the name of this mark type. -
volume
public double volume(int regionID) Description copied from class:Mark
Calculates the volume of a specific region of the mark. -
toString
-
duplicate
Description copied from class:Mark
Creates a duplicate of this mark. -
numberDimensions
public int numberDimensions()Description copied from class:Mark
Returns the number of dimensions of this mark.- Specified by:
numberDimensions
in classMark
- Returns:
- the number of dimensions
-