Package georegression.geometry
Class UtilTrig_F64
java.lang.Object
georegression.geometry.UtilTrig_F64
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
acuteAngle
(double vx_a, double vy_a, double vx_b, double vy_b) static double
static Vector3D_F64
cross
(Vector3D_F64 a, Vector3D_F64 b) static double
distance
(double x0, double y0, double x1, double y1) static double
distanceSq
(double x0, double y0, double x1, double y1) static double
dot
(double vx_a, double vy_a, double vx_b, double vy_b) static double
dot
(GeoTuple2D_F64 a, GeoTuple2D_F64 b) static double
dot
(GeoTuple3D_F64 a, GeoTuple3D_F64 b) static void
Normalizes the point such that the Frobenius norm is 1.
-
Constructor Details
-
UtilTrig_F64
public UtilTrig_F64()
-
-
Method Details
-
distance
public static double distance(double x0, double y0, double x1, double y1) -
distanceSq
public static double distanceSq(double x0, double y0, double x1, double y1) -
cross
-
dot
public static double dot(double vx_a, double vy_a, double vx_b, double vy_b) -
dot
-
dot
-
acuteAngle
-
acuteAngle
public static double acuteAngle(double vx_a, double vy_a, double vx_b, double vy_b) -
normalize
Normalizes the point such that the Frobenius norm is 1.- Parameters:
p
-
-