public class JavaGeomMath extends Object
| Constructor and Description |
|---|
JavaGeomMath() |
| Modifier and Type | Method and Description |
|---|---|
static double |
computeLength(double x,
double y,
double z)
Compute vector length
|
static double |
hypot(double a,
double b)
Compute hypotenuse
Same as
Math.hypot(double, double), only much faster for values that are not huge. |
public static double hypot(double a,
double b)
Same as Math.hypot(double, double), only much faster for values that are not huge. Falls back to Math.hypot(double, double) if values are actually huge.
public static double computeLength(double x,
double y,
double z)
Copyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.