LazyLib

org.lazywizard.lazylib
Class Line

java.lang.Object
  extended by java.awt.geom.Line2D
      extended by java.awt.geom.Line2D.Float
          extended by org.lazywizard.lazylib.Line
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable

public class Line
extends java.awt.geom.Line2D.Float

A simple extension of Line2D.Float that supports Vector2fs.

Author:
LazyWizard
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Line2D
java.awt.geom.Line2D.Double, java.awt.geom.Line2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.Line2D.Float
x1, x2, y1, y2
 
Constructor Summary
Line(org.lwjgl.util.vector.Vector2f start, org.lwjgl.util.vector.Vector2f end)
          A constructor that supports Vector2fs.
 
Method Summary
 
Methods inherited from class java.awt.geom.Line2D.Float
getBounds2D, getP1, getP2, getX1, getX2, getY1, getY2, setLine, setLine
 
Methods inherited from class java.awt.geom.Line2D
clone, contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects, intersectsLine, intersectsLine, linesIntersect, ptLineDist, ptLineDist, ptLineDist, ptLineDistSq, ptLineDistSq, ptLineDistSq, ptSegDist, ptSegDist, ptSegDist, ptSegDistSq, ptSegDistSq, ptSegDistSq, relativeCCW, relativeCCW, relativeCCW, setLine, setLine
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Line

public Line(org.lwjgl.util.vector.Vector2f start,
            org.lwjgl.util.vector.Vector2f end)
A constructor that supports Vector2fs.

Parameters:
start - The start point of the line.
end - The end point of the line.

LazyLib