public class CircleObjectFixture extends Object
Modifier and Type | Method and Description |
---|---|
static ObjectMask |
circleAt(Point2d center,
int radius)
Creates a single circular mask at a particular center point and radius.
|
static ObjectCollection |
successiveCircles(int numberCircles,
Point2d startCenter,
int radius,
Point2d centerShift,
double radiusShift)
Creates several successive circles whose center is incrementally shifted.
|
public static ObjectCollection successiveCircles(int numberCircles, Point2d startCenter, int radius, Point2d centerShift, double radiusShift)
numberCircles
- how many circles to create.startCenter
- the center of the first circle.radius
- the radius for all circles.centerShift
- shifts the center by this amount for each successive circle.radiusShift
- increases the radius by this amount for each successive circle.public static ObjectMask circleAt(Point2d center, int radius)
center
- center-point.radius
- the radius.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.