Package georegression.geometry
Class UtilTrig_F32
java.lang.Object
georegression.geometry.UtilTrig_F32
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatacuteAngle(float vx_a, float vy_a, float vx_b, float vy_b) static floatstatic Vector3D_F32cross(Vector3D_F32 a, Vector3D_F32 b) static floatdistance(float x0, float y0, float x1, float y1) static floatdistanceSq(float x0, float y0, float x1, float y1) static floatdot(float vx_a, float vy_a, float vx_b, float vy_b) static floatdot(GeoTuple2D_F32 a, GeoTuple2D_F32 b) static floatdot(GeoTuple3D_F32 a, GeoTuple3D_F32 b) static voidNormalizes 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-
-