http://www.jpicedt.org

jpicedt.graphic.view
Class ConvexZoneHalfPlaneView

java.lang.Object
  extended by jpicedt.graphic.view.ConvexZoneHalfPlaneView

public class ConvexZoneHalfPlaneView
extends Object

La classe ConvexZoneHalfPlaneView permet de visualiser l'ensemble des couples (origine, direction normale) correspondant aux demi-plans délimitant une zone convexe.

Since:
jPicEdt 1.6
Version:
1.0
Author:
Vincent Belaïche

Constructor Summary
ConvexZoneHalfPlaneView(ConvexZone convexZone)
           
 
Method Summary
static void barbellize(Rectangle2D allocation, double scale)
          Étend le rectangle allocation de sorte à prendre en compte l'épaisseur
 void paint(Graphics2D g, Rectangle2D allocation, double scale)
           
 void paintHighlighter(Graphics2D g, Rectangle2D allocation, double scale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvexZoneHalfPlaneView

public ConvexZoneHalfPlaneView(ConvexZone convexZone)
Method Detail

barbellize

public static void barbellize(Rectangle2D allocation,
                              double scale)
Étend le rectangle allocation de sorte à prendre en compte l'épaisseur

Parameters:
allocation - rectangle à étendre.

paint

public void paint(Graphics2D g,
                  Rectangle2D allocation,
                  double scale)

paintHighlighter

public void paintHighlighter(Graphics2D g,
                             Rectangle2D allocation,
                             double scale)

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org