rp1.rossum
Class RsBodyShape

java.lang.Object
  extended by rp1.rossum.RsComponent
      extended by rp1.rossum.RsBodyPart
          extended by rp1.rossum.RsBodyShape
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
RsBodyCircle, RsBodyPainter, RsBodySensor, RsWheel

public class RsBodyShape
extends RsBodyPart

A class for defining physical, interactive body parts for robot bodies.

See Also:
Serialized Form

Constructor Summary
RsBodyShape()
           
RsBodyShape(double[] point, int nPoint)
           
 
Method Summary
 boolean checkForOverlap(RsPlan plan, RsTransform transform)
           
 RsSegment[] getSegmentArray()
           
 void paint(java.awt.Graphics g, RsTransform gt)
           
 
Methods inherited from class rp1.rossum.RsBodyPart
copyStateData, getFillColor, getHot, getID, getLineColor, getName, isASensor, resetStateData, searchForCollisions, setFillColor, setHot, setHotFillColor, setHotLineColor, setLineColor, setName
 
Methods inherited from class rp1.rossum.RsComponent
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RsBodyShape

public RsBodyShape()

RsBodyShape

public RsBodyShape(double[] point,
                   int nPoint)
Method Detail

getSegmentArray

public RsSegment[] getSegmentArray()

paint

public void paint(java.awt.Graphics g,
                  RsTransform gt)
Overrides:
paint in class RsBodyPart

checkForOverlap

public boolean checkForOverlap(RsPlan plan,
                               RsTransform transform)