|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnakeutils.icy.ellipsoid.AbstractEllipsoid
plugins.big.bigsnakeutils.icy.ellipsoid.Ellipsoid3D
public class Ellipsoid3D
Class describing a 3D ellipsoid.
Field Summary | |
---|---|
double |
a
One of the axis of the ellipsoid. |
double |
alpha
One of the angle of the ellipsoid. |
double |
b
One of the axis of the ellipsoid. |
double |
beta
One of the angle of the ellipsoid. |
double |
c
One of the axis of the ellipsoid. |
double |
gamma
One of the angle of the ellipsoid. |
double |
x0
x coordinate of the center of the ellipsoid. |
double |
y0
y coordinate of the center of the ellipsoid. |
double |
z0
z coordinate of the center of the ellipsoid. |
Constructor Summary | |
---|---|
Ellipsoid3D()
Default constructor. |
|
Ellipsoid3D(Ellipsoid3D other)
Copy constructor. |
|
Ellipsoid3D(int t)
Default constructor. |
Method Summary | |
---|---|
AbstractEllipsoid |
clone()
Return another instance of this descriptor sharing the same properties. |
boolean |
contains(double x,
double y,
double z)
Returns true if the given point is inside the ellipsoid. |
boolean |
contains(double x,
double y,
double z,
double[] R)
Returns true if the give point is insid the ellipsoid. |
double |
getMaximalRadius()
Maximum radius of the ellipsoid. |
double |
getMinimalRadius()
Minimum radius of the ellipsoid. |
double |
getPerimeter()
Perimeter of the ellipsoid (surface in 3D). |
double[] |
getRotationMatrix()
Return the matrix of rotation corresponding to the ellipsoid orientation. |
double |
getVolume()
Volume of the ellipsoid (surface in 2D). |
Ellipsoid2D |
intersectionAtZ(int layer)
Returns the intersection of this ellipsoid with a plan z = layer. |
boolean |
isOver(double x,
double y,
double z)
Return true if the given point is on the surface of the ellipsoid. |
boolean |
isValid()
Return true if the descriptor represents a valid ellipsoid. |
icy.roi.ROI |
toROI()
Return a new ROI corresponding to this descriptor. |
java.lang.String |
toString()
|
Methods inherited from class plugins.big.bigsnakeutils.icy.ellipsoid.AbstractEllipsoid |
---|
applyRotation, getProperty, getT, multiplyMatrices, setProperty, setT, transposeMatrix |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double a
public double b
public double c
public double x0
public double y0
public double z0
public double alpha
public double beta
public double gamma
Constructor Detail |
---|
public Ellipsoid3D()
public Ellipsoid3D(int t)
t
- Time corresponding to this cell.public Ellipsoid3D(Ellipsoid3D other)
other
- Cell to copy.Method Detail |
---|
public AbstractEllipsoid clone()
AbstractEllipsoid
clone
in class AbstractEllipsoid
public boolean isValid()
AbstractEllipsoid
isValid
in class AbstractEllipsoid
public double getMinimalRadius()
AbstractEllipsoid
getMinimalRadius
in class AbstractEllipsoid
public double getMaximalRadius()
AbstractEllipsoid
getMaximalRadius
in class AbstractEllipsoid
public double getPerimeter()
AbstractEllipsoid
getPerimeter
in class AbstractEllipsoid
public double getVolume()
AbstractEllipsoid
getVolume
in class AbstractEllipsoid
public double[] getRotationMatrix()
AbstractEllipsoid
getRotationMatrix
in class AbstractEllipsoid
public icy.roi.ROI toROI()
AbstractEllipsoid
toROI
in class AbstractEllipsoid
public java.lang.String toString()
toString
in class java.lang.Object
public Ellipsoid2D intersectionAtZ(int layer)
public boolean contains(double x, double y, double z)
public boolean contains(double x, double y, double z, double[] R)
R
- Rotation matrix of the ellipse.public boolean isOver(double x, double y, double z)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |