public class DiscretizedCircle
extends java.lang.Object
| Constructor and Description |
|---|
DiscretizedCircle() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
imageOffsets(double radius,
int imgWidth)
Computes the offsets for a discretized circle of the specified radius for an
image with the specified width.
|
static int[][] |
imageOffsets2(double radius) |
public static int[] imageOffsets(double radius,
int imgWidth)
radius - The radius of the circle in pixels.imgWidth - The row step of the imagepublic static int[][] imageOffsets2(double radius)