- java.lang.Object
-
- bdv.tools.boundingbox.IntervalCorners
-
public class IntervalCorners extends Object
Utilities for computing the corners of a RealInterval. The index of a corner is interpreted as a binary number where bit 0 corresponds to X, bit 1 corresponds to Y, etc. A zero bit means min in the corresponding dimension, a one bit means max in the corresponding dimension.- Author:
- Tobias Pietzsch
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double[]corner(net.imglib2.RealInterval interval, int index)static voidcorner(net.imglib2.RealInterval interval, int index, double[] corner)static double[][]corners(net.imglib2.RealInterval interval)static intnumCorners(net.imglib2.RealInterval interval)
-
-
-
Method Detail
-
numCorners
public static int numCorners(net.imglib2.RealInterval interval)
-
corner
public static double[] corner(net.imglib2.RealInterval interval, int index)
-
corner
public static void corner(net.imglib2.RealInterval interval, int index, double[] corner)
-
corners
public static double[][] corners(net.imglib2.RealInterval interval)
-
-