edu.umd.cfar.lamp.viper.gui.data.obox
Class OboxRectangle

java.lang.Object
  extended byedu.umd.cfar.lamp.viper.gui.data.obox.OboxRectangle

public class OboxRectangle
extends java.lang.Object

Author:
clin Primarily used to compute the edges of an oriented box given x, y, width, height, and orientation in radians

Field Summary
 double h
           
 double o
           
 java.awt.geom.Point2D[] p
           
 double w
           
 
Constructor Summary
OboxRectangle(double x, double y, double width, double height, double radians)
           
 
Method Summary
static void rectanglePointsFromParams(OboxRectangle rec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p

public java.awt.geom.Point2D[] p

h

public double h

w

public double w

o

public double o
Constructor Detail

OboxRectangle

public OboxRectangle(double x,
                     double y,
                     double width,
                     double height,
                     double radians)
Method Detail

rectanglePointsFromParams

public static void rectanglePointsFromParams(OboxRectangle rec)