Uses of Class
edu.umd.cfar.lamp.viper.gui.canvas.MathVector

Packages that use MathVector
edu.umd.cfar.lamp.viper.gui.canvas Provides a canvas view of the video frame with editable metadata overlaid atop it. 
 

Uses of MathVector in edu.umd.cfar.lamp.viper.gui.canvas
 

Methods in edu.umd.cfar.lamp.viper.gui.canvas that return MathVector
static MathVector MathVector.computeUnitWidthVector(double angle)
          Computes a unit vector in the direction of angle
static MathVector MathVector.computeUnitHeightVector(double angle)
          Computes a unit vector perpendicular to direction of angle
static MathVector MathVector.computeWidthVector(MathVector vect, double angle)
          Computes component of vect in direction of angle
static MathVector MathVector.computeHeightVector(MathVector vect, double angle)
          Computes component of vect perpendicular to direction of angle
static MathVector MathVector.addVector(MathVector v1, MathVector v2)
           
 

Methods in edu.umd.cfar.lamp.viper.gui.canvas with parameters of type MathVector
static double MathVector.dotProduct(MathVector v1, MathVector v2)
          Computes the magnitude of the dot product
static double MathVector.projectUnit(MathVector vectSource, MathVector vectProject)
          Projects vectSource onto the normalized vectProject (i.e., a unit vector in the direction of vectProject)
static double MathVector.computeWidth(MathVector vect, double angle)
          Computes the magnitude of vect in the direction of angle
static double MathVector.computeHeight(MathVector vect, double angle)
          Computes the magnitude of vect perpendicular to direction of angle
static MathVector MathVector.computeWidthVector(MathVector vect, double angle)
          Computes component of vect in direction of angle
static MathVector MathVector.computeHeightVector(MathVector vect, double angle)
          Computes component of vect perpendicular to direction of angle
static MathVector MathVector.addVector(MathVector v1, MathVector v2)
           
static java.awt.geom.Point2D MathVector.addVectorToPoint(MathVector v, java.awt.geom.Point2D pt)
          Adds a vector to a point, to get a resulting point shifted by the vector
static java.awt.geom.Point2D MathVector.offsetPointByWidth(java.awt.geom.Point2D refPt, MathVector v, double angle)
          We have a point which we want to move along the line with angle, "angle" v is a vector, which is projected onto angle, and tells us how much to move at an angle.
static java.awt.geom.Line2D MathVector.testLineByWidth(java.awt.geom.Point2D refPt, MathVector v, double angle)
           
static java.awt.geom.Point2D MathVector.offsetPointByHeight(java.awt.geom.Point2D refPt, MathVector v, double angle)
          Offsets refPt in the direction of angle, with the magnitude of v projected on the angle
static double MathVector.computeAngle(MathVector v)