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, strMarksMethods inherited from class org.anchoranalysis.mpp.mark.MarkWithPosition
centerPoint, getPosition, positionString, setPositionMethods 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:MarkReturns the name of this mark type. -
volume
public double volume(int regionID) Description copied from class:MarkCalculates the volume of a specific region of the mark. -
toString
-
duplicate
Description copied from class:MarkCreates a duplicate of this mark. -
numberDimensions
public int numberDimensions()Description copied from class:MarkReturns the number of dimensions of this mark.- Specified by:
numberDimensionsin classMark- Returns:
- the number of dimensions
-