Package net.sourceforge.plantuml.utils
Class MathUtils
java.lang.Object
net.sourceforge.plantuml.utils.MathUtils
public class MathUtils
extends java.lang.Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
limitation
(double v, double min, double max) static double
max
(double a, double b) static double
max
(double a, double b, double c) static double
max
(double a, double b, double c, double d) static double
max
(double a, double b, double c, double d, double e) static java.awt.geom.Point2D
max
(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2) static java.awt.geom.Point2D
max
(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2, java.awt.geom.Point2D pt3) static Dimension2D
max
(Dimension2D dim1, Dimension2D dim2) static Dimension2D
max
(Dimension2D dim1, Dimension2D dim2, Dimension2D dim3) static double
min
(double a, double b) static double
min
(double a, double b, double c) static double
min
(double a, double b, double c, double d) static double
min
(double a, double b, double c, double d, double e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MathUtils
public MathUtils()
-
-
Method Details
-
max
public static double max(double a, double b) -
max
public static double max(double a, double b, double c) -
max
public static double max(double a, double b, double c, double d) -
max
public static double max(double a, double b, double c, double d, double e) -
min
public static double min(double a, double b) -
min
public static double min(double a, double b, double c) -
min
public static double min(double a, double b, double c, double d) -
min
public static double min(double a, double b, double c, double d, double e) -
limitation
public static double limitation(double v, double min, double max) -
max
-
max
-
max
public static java.awt.geom.Point2D max(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2) -
max
public static java.awt.geom.Point2D max(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2, java.awt.geom.Point2D pt3)
-