maslab.vis
Class VisGaussianEllipse

java.lang.Object
  extended by maslab.vis.VisObject
      extended by maslab.vis.VisEllipse
          extended by maslab.vis.VisGaussianEllipse

public class VisGaussianEllipse
extends VisEllipse

An ellipse corresponding to a gaussian uncertainty (covariance).


Field Summary
 java.awt.Color color
           
 
Fields inherited from class maslab.vis.VisEllipse
size, theta, x, xx, xy, y, yy
 
Fields inherited from class maslab.vis.VisObject
coordinateSpace, SCREENSPACE, WORLDSPACE
 
Constructor Summary
VisGaussianEllipse(java.awt.Color color, double x, double y, double cxx, double cxy, double cyy)
          1-sigma confidence ellipse given the first and second moments
 
Method Summary
 void set(double x, double y, double cxx, double cxy, double cyy)
          Set the paramters of the ellipse
 
Methods inherited from class maslab.vis.VisEllipse
paint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

public java.awt.Color color
Constructor Detail

VisGaussianEllipse

public VisGaussianEllipse(java.awt.Color color,
                          double x,
                          double y,
                          double cxx,
                          double cxy,
                          double cyy)
1-sigma confidence ellipse given the first and second moments

Method Detail

set

public void set(double x,
                double y,
                double cxx,
                double cxy,
                double cyy)
Set the paramters of the ellipse

Overrides:
set in class VisEllipse