physicon.graphLib
Class CurveHatching

java.lang.Object
  |
  +--physicon.graphLib.GraphElementBase
        |
        +--physicon.graphLib.CurveHatching

public class CurveHatching
extends GraphElementBase


Field Summary
 double curveA
           
 double curveB
           
 double curveC
           
 boolean side
           
 
Constructor Summary
CurveHatching(CurveHatchingDrawer drawer, DoublePoint p1, DoublePoint p2, DoubleRectangle _rect, DoublePoint _dp, double _angle)
           
CurveHatching(CurveHatchingDrawer drawer, ParamCurve _curve, DoubleRectangle _rect, DoublePoint _dp)
           
CurveHatching(CurveHatchingDrawer drawer, ParamCurve _curve, DoubleRectangle _rect, DoublePoint _dp, double _angle)
           
 
Method Summary
 DoublePoint getCross(double a1, double b1, double c1)
           
 DoubleRectangle getRoughRect()
           
 void setRect(DoubleRectangle r)
           
 void updateDrawer()
           
 
Methods inherited from class physicon.graphLib.GraphElementBase
addDependent, contains, contains, getContainer, getContext, getDepend, getDrawer, getGEObject, getGraphElement, getRedrawFlag, getRefPoint, getZLevel, isCreated, isVisible, setDrawer, setRedrawFlag, setRefPoint, setVisible, setZLevel, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

side

public boolean side

curveA

public double curveA

curveB

public double curveB

curveC

public double curveC
Constructor Detail

CurveHatching

public CurveHatching(CurveHatchingDrawer drawer,
                     ParamCurve _curve,
                     DoubleRectangle _rect,
                     DoublePoint _dp)

CurveHatching

public CurveHatching(CurveHatchingDrawer drawer,
                     ParamCurve _curve,
                     DoubleRectangle _rect,
                     DoublePoint _dp,
                     double _angle)

CurveHatching

public CurveHatching(CurveHatchingDrawer drawer,
                     DoublePoint p1,
                     DoublePoint p2,
                     DoubleRectangle _rect,
                     DoublePoint _dp,
                     double _angle)
Method Detail

setRect

public void setRect(DoubleRectangle r)

updateDrawer

public void updateDrawer()
Overrides:
updateDrawer in class GraphElementBase

getRoughRect

public DoubleRectangle getRoughRect()
Overrides:
getRoughRect in class GraphElementBase

getCross

public final DoublePoint getCross(double a1,
                                  double b1,
                                  double c1)