Package renderer.models_L
Class Axes3D
- java.lang.Object
-
- renderer.scene.Model
-
- renderer.models_L.Axes3D
-
-
Field Summary
-
Fields inherited from class renderer.scene.Model
colorList, name, primitiveList, vertexList, visible
-
-
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 defaultColor
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 defaultColor
is white.- Parameters:
xMax
- length of the x-axisyMax
- length of the y-axiszMax
- 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 givenColor
for all three axes.- Parameters:
xMax
- length of the x-axisyMax
- length of the y-axiszMax
- length of the z-axisc
-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 givenColor
for each 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 defaultColor
is black.- Parameters:
xMin
- left endpoint of the x-axisxMax
- right endpoint of the x-axisyMin
- bottom endpoint of the y-axisyMax
- top endpoint of the y-axiszMin
- back endpoint of the z-axiszMax
- 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 givenColor
for all three axes.- Parameters:
xMin
- left endpoint of the x-axisxMax
- right endpoint of the x-axisyMin
- bottom endpoint of the y-axisyMax
- top endpoint of the y-axiszMin
- back endpoint of the z-axiszMax
- front endpoint of the z-axisc
-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 givenColor
for each axis.- Parameters:
xMin
- left endpoint of the x-axisxMax
- right endpoint of the x-axisyMin
- bottom endpoint of the y-axisyMax
- top endpoint of the y-axiszMin
- back endpoint of the z-axiszMax
- front endpoint of the z-axiscX
-Color
for the x-axiscY
-Color
for the y-axiscZ
-Color
for the z-axis
-
-