public class BoundingBox extends Object implements Interval, Comparable<BoundingBox>
Modifier and Type | Field and Description |
---|---|
protected int[] |
max |
protected int[] |
min |
protected String |
title |
Constructor and Description |
---|
BoundingBox(int[] min,
int[] max) |
BoundingBox(String title,
int[] min,
int[] max) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BoundingBox o) |
long |
dimension(int d) |
void |
dimensions(long[] dimensions) |
int[] |
getMax() |
int[] |
getMin() |
String |
getTitle() |
long |
max(int d) |
void |
max(long[] max) |
void |
max(Positionable max) |
long |
min(int d) |
void |
min(long[] min) |
void |
min(Positionable min) |
int |
numDimensions() |
void |
realMax(double[] max) |
double |
realMax(int d) |
void |
realMax(RealPositionable max) |
void |
realMin(double[] min) |
double |
realMin(int d) |
void |
realMin(RealPositionable min) |
void |
setTitle(String title) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPoint
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
protected int[] min
protected int[] max
protected String title
public BoundingBox(String title, int[] min, int[] max)
public BoundingBox(int[] min, int[] max)
public void setTitle(String title)
public String getTitle()
public int[] getMin()
public int[] getMax()
public void min(Positionable min)
public void max(Positionable max)
public double realMin(int d)
realMin
in interface Interval
realMin
in interface RealInterval
public void realMin(double[] min)
realMin
in interface RealInterval
public void realMin(RealPositionable min)
realMin
in interface RealInterval
public double realMax(int d)
realMax
in interface Interval
realMax
in interface RealInterval
public void realMax(double[] max)
realMax
in interface RealInterval
public void realMax(RealPositionable max)
realMax
in interface RealInterval
public int numDimensions()
numDimensions
in interface EuclideanSpace
public void dimensions(long[] dimensions)
dimensions
in interface Dimensions
public long dimension(int d)
dimension
in interface Dimensions
dimension
in interface Interval
public int compareTo(BoundingBox o)
compareTo
in interface Comparable<BoundingBox>
Copyright © 2015–2021 Fiji. All rights reserved.