| Package | Description | 
|---|---|
| agi.foundation.coordinates | 
 Contains types for quantifying and converting between various coordinate representations. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
UnitRectangular | 
UnitRectangular.getMostOrthogonalAxis()
Gets the axis which is most orthogonal to this instance. 
 | 
UnitRectangular | 
UnitRectangular.getMostParallelAxis()
Gets the axis which is most parallel to this instance. 
 | 
static UnitRectangular | 
UnitRectangular.getUndefined()
Gets a set of  
UnitRectangular coordinates with values of Double.NaN. | 
static UnitRectangular | 
UnitRectangular.getUnitX()
Gets a set of  
UnitRectangular coordinates representing the x-axis. | 
static UnitRectangular | 
UnitRectangular.getUnitY()
Gets a set of  
UnitRectangular coordinates representing the y-axis. | 
UnitRectangular | 
UnitRectangular.invert()
Inverts this instance. 
 | 
static UnitRectangular | 
UnitRectangular.negate(UnitRectangular coordinates)
Negates the specified  
UnitRectangular, yielding a new UnitRectangular. | 
UnitRectangular | 
Rectangular.normalize()
Forms a set of  
UnitRectangular coordinates from this instance. | 
UnitRectangular | 
Rectangular.normalize(double[] magnitude)
Forms a set of  
UnitRectangular coordinates from this instance
    and returns the Magnitude (get) of the original instance in the provided parameter. | 
UnitRectangular | 
UnitRectangular.rotate(double angle)
Produces a set of  
UnitRectangular coordinates representing this instance which results from rotating
    the original axes used to represent this instance by the provided angle. | 
| Modifier and Type | Method and Description | 
|---|---|
static Rectangular | 
UnitRectangular.add(Rectangular left,
   UnitRectangular right)
Adds a specified set of  
UnitRectangular coordinates to a specified set of Rectangular coordinates. | 
Rectangular | 
UnitRectangular.add(UnitRectangular other)
Adds the specified set of  
UnitRectangular coordinates to this instance. | 
static Rectangular | 
UnitRectangular.add(UnitRectangular left,
   Rectangular right)
Adds a specified set of  
UnitRectangular coordinates to a specified set of Rectangular coordinates. | 
static Rectangular | 
UnitRectangular.add(UnitRectangular left,
   UnitRectangular right)
Adds a specified set of  
UnitRectangular coordinates to another specified set of UnitRectangular coordinates. | 
double | 
UnitRectangular.angleBetween(UnitRectangular other)
Determines the angle in radians between the specified set of  
UnitRectangular coordinates and this instance. | 
static Rectangular | 
UnitRectangular.divide(UnitRectangular left,
      double right)
Divides a specified set of  
UnitRectangular coordinates by a scalar. | 
double | 
UnitRectangular.dot(UnitRectangular other)
Forms the dot product of the specified set of  
UnitRectangular coordinates with this instance. | 
static boolean | 
UnitRectangular.equals(UnitRectangular left,
      UnitRectangular right)
Returns  
true if the two instances are exactly equal. | 
boolean | 
UnitRectangular.equalsEpsilon(UnitRectangular other,
             double epsilon)
Indicates whether each coordinate value of another instance of this type
    is within the required tolerance of the corresponding coordinate value of this instance. 
 | 
boolean | 
UnitRectangular.equalsType(UnitRectangular other)
Indicates whether another instance of this type is exactly equal to this instance. 
 | 
static Rectangular | 
UnitRectangular.multiply(double left,
        UnitRectangular right)
Multiplies a scalar by a specified set of  
UnitRectangular coordinates. | 
static Rectangular | 
UnitRectangular.multiply(UnitRectangular left,
        double right)
Multiplies a specified set of  
UnitRectangular coordinates by a scalar. | 
static UnitRectangular | 
UnitRectangular.negate(UnitRectangular coordinates)
Negates the specified  
UnitRectangular, yielding a new UnitRectangular. | 
static boolean | 
UnitRectangular.notEquals(UnitRectangular left,
         UnitRectangular right)
Returns  
true if the two instances are not exactly equal. | 
static Rectangular | 
UnitRectangular.subtract(Rectangular left,
        UnitRectangular right)
Subtracts a specified set of  
UnitRectangular coordinates from a specified set of Rectangular coordinates. | 
Rectangular | 
UnitRectangular.subtract(UnitRectangular other)
Subtracts the specified set of  
UnitRectangular coordinates from this instance. | 
static Rectangular | 
UnitRectangular.subtract(UnitRectangular left,
        Rectangular right)
Subtracts a specified set of  
Rectangular coordinates from a specified set of UnitRectangular coordinates. | 
static Rectangular | 
UnitRectangular.subtract(UnitRectangular left,
        UnitRectangular right)
Subtracts a specified set of  
UnitRectangular coordinates from another specified set of UnitRectangular coordinates. | 
static Rectangular | 
Rectangular.toRectangular(UnitRectangular coordinates)
Converts a set of  
UnitRectangular coordinates to a set of Rectangular coordinates. | 
| Constructor and Description | 
|---|
UnitCartesian(UnitRectangular unit)
Initializes a set of  
UnitCartesian coordinates from the provided set of UnitRectangular coordinates. |