com.planeth.common.geom
Class Line

java.lang.Object
  extended bycom.planeth.common.geom.Shape
      extended bycom.planeth.common.geom.Line

public class Line
extends Shape

A simple Line

Author:
Andreas Grässer, gal@planet-h.com.
created May 30, 2005

Nested Class Summary
 
Nested classes inherited from class com.planeth.common.geom.Shape
Shape.Bounds
 
Constructor Summary
Line(double length)
          Constructor for Line.
 
Methods inherited from class com.planeth.common.geom.Shape
explode, getBounds, getColor, getVertexes, paint, randomize, setColor, setFilled, setVertexes, setVisible, split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Line

public Line(double length)
Constructor for Line.

Parameters:
length - the length of the line