|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.process.FloatPolygon
public class FloatPolygon
Used by the Roi classes to return float coordinate arrays and to determine if a point is inside or outside of spline fitted selections.
Field Summary | |
---|---|
int |
npoints
The number of points. |
float[] |
xpoints
|
float[] |
ypoints
|
Constructor Summary | |
---|---|
FloatPolygon(float[] xpoints,
float[] ypoints,
int npoints)
Constructs a FloatPolygon. |
Method Summary | |
---|---|
boolean |
contains(float x,
float y)
Returns 'true' if the point (x,y) is inside this polygon. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int npoints
public float[] xpoints
public float[] ypoints
Constructor Detail |
---|
public FloatPolygon(float[] xpoints, float[] ypoints, int npoints)
Method Detail |
---|
public boolean contains(float x, float y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |