Class 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 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
      • 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