georegression.geometry
Class UtilVector2D_F64
- java.lang.Object
-
- georegression.geometry.UtilVector2D_F64
-
public class UtilVector2D_F64 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description UtilVector2D_F64()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doubleacute(Vector2D_F64 a, Vector2D_F64 b)Returns the acute angle between the two vectors.static Vector2D_F64minus(Point2D_F64 a, Point2D_F64 b, Vector2D_F64 output)Sets the vector equal to 'a' - 'b'.
-
-
-
Method Detail
-
acute
public static double acute(Vector2D_F64 a, Vector2D_F64 b)
Returns the acute angle between the two vectors. Computed using the dot product.- Parameters:
a- vectorb- vector- Returns:
- acute angle
-
minus
public static Vector2D_F64 minus(Point2D_F64 a, Point2D_F64 b, Vector2D_F64 output)
Sets the vector equal to 'a' - 'b'.- Parameters:
a- pointb- pointoutput- (output) optional storage for vector.- Returns:
- Solution
-
-
DataMelt 3.0 © DataMelt by jWork.ORG