Changeset 2908
 Timestamp:
 06/26/07 17:35:55 (12 years ago)
 Location:
 trunk/loci/visbio/util
 Files:

 4 added
 1 deleted
 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/loci/visbio/util/MathUtil.java
r2903 r2908 322 322 } 323 323 324 /** Computes the ND unit vector in the direction asthe vector supplied. */324 /** Computes the ND unit vector in the direction of the vector supplied. */ 325 325 public static float[] unit(float[] v) { 326 326 float mag = mag(v); … … 461 461 } 462 462 463 /** Gets a unit vector which bisects (p1  p2) and (p3  p2). */ 463 /** 464 * Gets a unit vector which bisects (p1  p2) and (p3  p2). 465 * This vector points to the 'right' side of the line defined by p1>p2>p3. 466 */ 464 467 public static float[] getRightBisectorVector2D(float[] p1, float[] p2, 465 468 float[] p3) 466 469 { 467 470 // System.out.println("entering getBisectorVector2D ..."); //TEMP 471 468 472 // Always retrieves the bisector vector on the right (as opposed to left) 469 473 // side of the angle made by the two vectors.
Note: See TracChangeset
for help on using the changeset viewer.