|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFacemorph.haar.Rect
public class Rect
A rectangle with a weight
| Constructor Summary | |
|---|---|
Rect(int x,
int y,
int w,
int h)
Construct a rectange with the parameters given, weight=0 |
|
Rect(int x,
int y,
int w,
int h,
double weight)
Construct a rectange with the parameters given |
|
Rect(java.lang.String rect)
Constructs a rectangle from the XML data |
|
| Method Summary | |
|---|---|
int |
getHeight()
|
double |
getWeight()
|
int |
getWidth()
|
int |
getX1()
|
int |
getX2()
|
int |
getY1()
|
int |
getY2()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Rect(java.lang.String rect)
rect - The XML data to retrieve the next rectangle from starting at the rectangle
public Rect(int x,
int y,
int w,
int h,
double weight)
x - x-locationy - y-locationw - widthh - heightweight - weight
public Rect(int x,
int y,
int w,
int h)
x - x-locationy - y-locationw - widthh - height| Method Detail |
|---|
public int getX1()
public int getY1()
public int getX2()
public int getY2()
public int getWidth()
public int getHeight()
public double getWeight()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||