- 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 intCOHEN_SUTHERLAND_BACKBehind zone according to the Cohen-Sutherland algorithm.static intCOHEN_SUTHERLAND_BOTTOMBottom zone according to the Cohen-Sutherland algorithm:y < ymin.static intCOHEN_SUTHERLAND_FRONTFront zone according to the Cohen-Sutherland algorithm.static intCOHEN_SUTHERLAND_INSIDEInside zone according to the Cohen-Sutherland algorithm:x in [xmin;xmax] and y in [ymin;ymax].static intCOHEN_SUTHERLAND_LEFTLeft zone according to the Cohen-Sutherland algorithm:x < xmin.static intCOHEN_SUTHERLAND_RIGHTRight zone according to the Cohen-Sutherland algorithm:x > xmax.static intCOHEN_SUTHERLAND_TOPTop zone according to the Cohen-Sutherland algorithm:y > ymax.static doubleDEMI_PIPI/2.static doubleEE.static doubleJACOBI_EPSILONNumber precision for the Jacoby's algorithms.static intJACOBI_MAX_SWEEPSMax sweeps in the Jacoby's algorithms.static doubleONE_HALF_PIPI + PI/2.static doublePIPI.static doubleQUARTER_PIPI/4.static doubleSQRT_2Square root of 2.static doubleTHREE_QUARTER_PI3*PI/4.static doubleTWO_PI2 * 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
-
-