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