- java.lang.Object
-
- org.arakhne.afc.math.MathConstants
-
public final class MathConstants extends Object
Several mathematical constants.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:41
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgen
-
-
Field Summary
Fields Modifier and Type Field Description static int
COHEN_SUTHERLAND_BACK
Behind zone according to the Cohen-Sutherland algorithm.static int
COHEN_SUTHERLAND_BOTTOM
Bottom zone according to the Cohen-Sutherland algorithm:y < ymin
.static int
COHEN_SUTHERLAND_FRONT
Front zone according to the Cohen-Sutherland algorithm.static int
COHEN_SUTHERLAND_INSIDE
Inside zone according to the Cohen-Sutherland algorithm:x in [xmin;xmax] and y in [ymin;ymax]
.static int
COHEN_SUTHERLAND_LEFT
Left zone according to the Cohen-Sutherland algorithm:x < xmin
.static int
COHEN_SUTHERLAND_RIGHT
Right zone according to the Cohen-Sutherland algorithm:x > xmax
.static int
COHEN_SUTHERLAND_TOP
Top zone according to the Cohen-Sutherland algorithm:y > ymax
.static double
DEMI_PI
PI/2.static double
E
E.static double
JACOBI_EPSILON
Number precision for the Jacoby's algorithms.static int
JACOBI_MAX_SWEEPS
Max sweeps in the Jacoby's algorithms.static double
ONE_HALF_PI
PI + PI/2.static double
PI
PI.static double
QUARTER_PI
PI/4.static double
SQRT_2
Square root of 2.static double
THREE_QUARTER_PI
3*PI/4.static double
TWO_PI
2 * PI.
-
-
-
Field Detail
-
COHEN_SUTHERLAND_INSIDE
public static final int COHEN_SUTHERLAND_INSIDE
Inside zone according to the Cohen-Sutherland algorithm:x in [xmin;xmax] and y in [ymin;ymax]
.- See Also:
- Constant Field Values
-
COHEN_SUTHERLAND_LEFT
public static final int COHEN_SUTHERLAND_LEFT
Left zone according to the Cohen-Sutherland algorithm:x < xmin
.- See Also:
- Constant Field Values
-
COHEN_SUTHERLAND_RIGHT
public static final int COHEN_SUTHERLAND_RIGHT
Right zone according to the Cohen-Sutherland algorithm:x > xmax
.- See Also:
- Constant Field Values
-
COHEN_SUTHERLAND_BOTTOM
public static final int COHEN_SUTHERLAND_BOTTOM
Bottom zone according to the Cohen-Sutherland algorithm:y < ymin
.- See Also:
- Constant Field Values
-
COHEN_SUTHERLAND_TOP
public static final int COHEN_SUTHERLAND_TOP
Top zone according to the Cohen-Sutherland algorithm:y > ymax
.- See Also:
- Constant Field Values
-
COHEN_SUTHERLAND_FRONT
public static final int COHEN_SUTHERLAND_FRONT
Front zone according to the Cohen-Sutherland algorithm.- See Also:
- Constant Field Values
-
COHEN_SUTHERLAND_BACK
public static final int COHEN_SUTHERLAND_BACK
Behind zone according to the Cohen-Sutherland algorithm.- See Also:
- Constant Field Values
-
PI
public static final double PI
PI.- See Also:
- Constant Field Values
-
E
public static final double E
E.- See Also:
- Constant Field Values
-
TWO_PI
public static final double TWO_PI
2 * PI.- See Also:
- Constant Field Values
-
ONE_HALF_PI
public static final double ONE_HALF_PI
PI + PI/2.- See Also:
- Constant Field Values
-
DEMI_PI
public static final double DEMI_PI
PI/2.- See Also:
- Constant Field Values
-
QUARTER_PI
public static final double QUARTER_PI
PI/4.- See Also:
- Constant Field Values
-
THREE_QUARTER_PI
public static final double THREE_QUARTER_PI
3*PI/4.- See Also:
- Constant Field Values
-
SQRT_2
public static final double SQRT_2
Square root of 2.
-
JACOBI_MAX_SWEEPS
public static final int JACOBI_MAX_SWEEPS
Max sweeps in the Jacoby's algorithms.- See Also:
- Constant Field Values
-
JACOBI_EPSILON
public static final double JACOBI_EPSILON
Number precision for the Jacoby's algorithms.Given by the Java3D's implementation of the Matrix3d class.
- See Also:
- Constant Field Values
-
-