Class Axes3D


  • public class Axes3D
    extends Model
    Create a positive x, y, and z axis in 3-dimensional space.
    • Constructor Summary

      Constructors 
      Constructor Description
      Axes3D()
      Create a positive x, y, and z axis with one unit length for each axis.
      Axes3D​(double xMax, double yMax, double zMax)
      Create a positive x, y, and z axis with the given length for each axis.
      Axes3D​(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
      Create an x, y, and z axis with the given endpoints for each axis.
      Axes3D​(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax, Color c)
      Create an x, y, and z axis with the given endpoints for each axis.
      Axes3D​(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax, Color cX, Color cY, Color cZ)
      Create an x, y, and z axis with the given endpoints for each axis.
      Axes3D​(double xMax, double yMax, double zMax, Color c)
      Create a positive x, y, and z axis with the given length for each axis.
      Axes3D​(double xMax, double yMax, double zMax, Color cX, Color cY, Color cZ)
      Create a positive x, y, and z axis with the given length for each axis.
    • Constructor Detail

      • Axes3D

        public Axes3D()
        Create a positive x, y, and z axis with one unit length for each axis. The default Color is white.
      • Axes3D

        public Axes3D​(double xMax,
                      double yMax,
                      double zMax)
        Create a positive x, y, and z axis with the given length for each axis. The default Color is white.
        Parameters:
        xMax - length of the x-axis
        yMax - length of the y-axis
        zMax - length of the z-axis
      • Axes3D

        public Axes3D​(double xMax,
                      double yMax,
                      double zMax,
                      Color c)
        Create a positive x, y, and z axis with the given length for each axis. Use the given Color for all three axes.
        Parameters:
        xMax - length of the x-axis
        yMax - length of the y-axis
        zMax - length of the z-axis
        c - Color for all three axes
      • Axes3D

        public Axes3D​(double xMax,
                      double yMax,
                      double zMax,
                      Color cX,
                      Color cY,
                      Color cZ)
        Create a positive x, y, and z axis with the given length for each axis. Use the given Color for each axis.
        Parameters:
        xMax - length of the x-axis
        yMax - length of the y-axis
        zMax - length of the z-axis
        cX - Color for the x-axis
        cY - Color for the y-axis
        cZ - Color for the z-axis
      • Axes3D

        public Axes3D​(double xMin,
                      double xMax,
                      double yMin,
                      double yMax,
                      double zMin,
                      double zMax)
        Create an x, y, and z axis with the given endpoints for each axis. The default Color is black.
        Parameters:
        xMin - left endpoint of the x-axis
        xMax - right endpoint of the x-axis
        yMin - bottom endpoint of the y-axis
        yMax - top endpoint of the y-axis
        zMin - back endpoint of the z-axis
        zMax - front endpoint of the z-axis
      • Axes3D

        public Axes3D​(double xMin,
                      double xMax,
                      double yMin,
                      double yMax,
                      double zMin,
                      double zMax,
                      Color c)
        Create an x, y, and z axis with the given endpoints for each axis. Use the given Color for all three axes.
        Parameters:
        xMin - left endpoint of the x-axis
        xMax - right endpoint of the x-axis
        yMin - bottom endpoint of the y-axis
        yMax - top endpoint of the y-axis
        zMin - back endpoint of the z-axis
        zMax - front endpoint of the z-axis
        c - Color for all three axes
      • Axes3D

        public Axes3D​(double xMin,
                      double xMax,
                      double yMin,
                      double yMax,
                      double zMin,
                      double zMax,
                      Color cX,
                      Color cY,
                      Color cZ)
        Create an x, y, and z axis with the given endpoints for each axis. Use the given Color for each axis.
        Parameters:
        xMin - left endpoint of the x-axis
        xMax - right endpoint of the x-axis
        yMin - bottom endpoint of the y-axis
        yMax - top endpoint of the y-axis
        zMin - back endpoint of the z-axis
        zMax - front endpoint of the z-axis
        cX - Color for the x-axis
        cY - Color for the y-axis
        cZ - Color for the z-axis