Class Body
java.lang.Object
Body
public class Body
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Body
public Body()
Body
public Body(Circle head,
Circle righthand,
Circle lefthand,
Circle rightfoot,
Circle leftfoot,
int gaze,
java.awt.geom.Line2D.Float shoulderLine)
cloneBody
public Body cloneBody()
setCirclewithType
public void setCirclewithType(Circle circle)
setCirclewithTypeSpecified
public void setCirclewithTypeSpecified(Circle circle,
int type)
fitCircleInBox
public Circle fitCircleInBox(Circle circle,
java.awt.Rectangle box)
fitBodyinBox
public Body fitBodyinBox(java.awt.Rectangle box)
isNull
public boolean isNull()
isHeadDraw
public boolean isHeadDraw()
isRightFootDraw
public boolean isRightFootDraw()
isLeftFootDraw
public boolean isLeftFootDraw()
isRightHandDraw
public boolean isRightHandDraw()
isLeftHandDraw
public boolean isLeftHandDraw()
isShouldersDraw
public boolean isShouldersDraw()
isGazeDraw
public boolean isGazeDraw()
getLeftfoot
public Circle getLeftfoot()
- Returns:
getLefthand
public Circle getLefthand()
- Returns:
getRightfoot
public Circle getRightfoot()
- Returns:
getRighthand
public Circle getRighthand()
- Returns:
getShoulderLine
public java.awt.geom.Line2D.Float getShoulderLine()
- Returns:
setLeftfoot
public void setLeftfoot(Circle circle)
- Parameters:
circle
-
setLefthand
public void setLefthand(Circle circle)
- Parameters:
circle
-
setRightfoot
public void setRightfoot(Circle circle)
- Parameters:
circle
-
setRighthand
public void setRighthand(Circle circle)
- Parameters:
circle
-
setShoulderLine
public void setShoulderLine(java.awt.geom.Line2D.Float float1)
- Parameters:
float1
-
isVisiblehead
public boolean isVisiblehead()
- Returns:
- Returns the visiblehead.
setVisiblehead
public void setVisiblehead(boolean visiblehead)
- Parameters:
visiblehead
- The visiblehead to set.
isVisibleleftfoot
public boolean isVisibleleftfoot()
- Returns:
- Returns the visibleleftfoot.
setVisibleleftfoot
public void setVisibleleftfoot(boolean visibleleftfoot)
- Parameters:
visibleleftfoot
- The visibleleftfoot to set.
isVisiblelefthand
public boolean isVisiblelefthand()
- Returns:
- Returns the visiblelefthand.
setVisiblelefthand
public void setVisiblelefthand(boolean visiblelefthand)
- Parameters:
visiblelefthand
- The visiblelefthand to set.
isVisiblerightfoot
public boolean isVisiblerightfoot()
- Returns:
- Returns the visiblerightfoot.
setVisiblerightfoot
public void setVisiblerightfoot(boolean visiblerightfoot)
- Parameters:
visiblerightfoot
- The visiblerightfoot to set.
isVisiblerighthand
public boolean isVisiblerighthand()
- Returns:
- Returns the visiblerighthand.
setVisiblerighthand
public void setVisiblerighthand(boolean visiblerighthand)
- Parameters:
visiblerighthand
- The visiblerighthand to set.
isVisiblerightshoulder
public boolean isVisiblerightshoulder()
- Returns:
- Returns the visiblerightshoulder.
setVisiblerightshoulder
public void setVisiblerightshoulder(boolean visiblerightshoulder)
- Parameters:
visiblerightshoulder
- The visiblerightshoulder to set.
getGaze
public int getGaze()
- Returns:
- Returns the gaze.
setGaze
public void setGaze(int gaze)
- Parameters:
gaze
- The gaze to set.
getHead
public Circle getHead()
- Returns:
- Returns the head.
setHead
public void setHead(Circle head)
- Parameters:
head
- The head to set.
isVisibleleftshoulder
public boolean isVisibleleftshoulder()
- Returns:
- Returns the visibleleftshoulder.
setVisibleleftshoulder
public void setVisibleleftshoulder(boolean visibleleftshoulder)
- Parameters:
visibleleftshoulder
- The visibleleftshoulder to set.