georegression.geometry
Class UtilVector2D_F32
- java.lang.Object
-
- georegression.geometry.UtilVector2D_F32
-
public class UtilVector2D_F32 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description UtilVector2D_F32()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static floatacute(Vector2D_F32 a, Vector2D_F32 b)Returns the acute angle between the two vectors.static Vector2D_F32minus(Point2D_F32 a, Point2D_F32 b, Vector2D_F32 output)Sets the vector equal to 'a' - 'b'.
-
-
-
Method Detail
-
acute
public static float acute(Vector2D_F32 a, Vector2D_F32 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_F32 minus(Point2D_F32 a, Point2D_F32 b, Vector2D_F32 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