sim.portrayal.network
Class EdgeDrawInfo2D

java.lang.Object
  extended by sim.portrayal.DrawInfo2D
      extended by sim.portrayal.network.EdgeDrawInfo2D
Direct Known Subclasses:
TrailedPortrayal2D.TrailDrawInfo2D

public class EdgeDrawInfo2D
extends DrawInfo2D

An extension of DrawInfo2D for dealing with edges in visualizing network fields.


Field Summary
 java.awt.geom.Point2D.Double secondPoint
          A pre-scaled point to draw to.
 
Fields inherited from class sim.portrayal.DrawInfo2D
clip, draw, location, precise, selected
 
Constructor Summary
EdgeDrawInfo2D(DrawInfo2D other, java.awt.geom.Point2D.Double secondPoint)
           
EdgeDrawInfo2D(EdgeDrawInfo2D other)
           
EdgeDrawInfo2D(java.awt.geom.Rectangle2D.Double draw, java.awt.geom.Rectangle2D.Double clip, java.awt.geom.Point2D.Double secondPoint)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class sim.portrayal.DrawInfo2D
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

secondPoint

public java.awt.geom.Point2D.Double secondPoint
A pre-scaled point to draw to.

Constructor Detail

EdgeDrawInfo2D

public EdgeDrawInfo2D(java.awt.geom.Rectangle2D.Double draw,
                      java.awt.geom.Rectangle2D.Double clip,
                      java.awt.geom.Point2D.Double secondPoint)

EdgeDrawInfo2D

public EdgeDrawInfo2D(DrawInfo2D other,
                      java.awt.geom.Point2D.Double secondPoint)

EdgeDrawInfo2D

public EdgeDrawInfo2D(EdgeDrawInfo2D other)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class DrawInfo2D