lineSegmentList, vertexList, visible
Constructor and 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 xMax,
double yMax,
double zMax,
java.awt.Color c)
Create a positive x, y, and z axis
with the given length for each axis.
|
Axes3D(double xMax,
double yMax,
double zMax,
java.awt.Color cX,
java.awt.Color cY,
java.awt.Color cZ)
Create a positive x, y, and z axis
with the given length for each axis.
|
Axes3D(double xMax,
double xMin,
double yMax,
double yMin,
double zMax,
double zMin)
Create an x, y, and z axis with the
given endpoints for each axis.
|
Axes3D(double xMax,
double xMin,
double yMax,
double yMin,
double zMax,
double zMin,
java.awt.Color c)
Create an x, y, and z axis with the
given endpoints for each axis.
|
Axes3D(double xMax,
double xMin,
double yMax,
double yMin,
double zMax,
double zMin,
java.awt.Color cX,
java.awt.Color cY,
java.awt.Color cZ)
Create an x, y, and z axis with the
given endpoints for each axis.
|
addLineSegment, addLineSegment, addVertex, setColor, setColorRandom, setRandomColors, setRandomLineSegmentColors, toString
public Axes3D()
public Axes3D(double xMax, double yMax, double zMax)
xMax
- length of the x-axisyMax
- length of the y-axiszMax
- length of the z-axispublic Axes3D(double xMax, double yMax, double zMax, java.awt.Color c)
xMax
- length of the x-axisyMax
- length of the y-axiszMax
- length of the z-axisc
- color for all three axespublic Axes3D(double xMax, double yMax, double zMax, java.awt.Color cX, java.awt.Color cY, java.awt.Color cZ)
xMax
- length of the x-axisyMax
- length of the y-axiszMax
- length of the z-axiscX
- color for the x-axiscY
- color for the y-axiscZ
- color for the z-axispublic Axes3D(double xMax, double xMin, double yMax, double yMin, double zMax, double zMin)
xMax
- right endpoint of the x-axisxMin
- left endpoint of the x-axisyMax
- top endpoint of the y-axisyMin
- bottom endpoint of the y-axiszMax
- front endpoint of the z-axiszMin
- back endpoint of the z-axispublic Axes3D(double xMax, double xMin, double yMax, double yMin, double zMax, double zMin, java.awt.Color c)
xMax
- right endpoint of the x-axisxMin
- left endpoint of the x-axisyMax
- top endpoint of the y-axisyMin
- bottom endpoint of the y-axiszMax
- front endpoint of the z-axiszMin
- back endpoint of the z-axisc
- color for all three axespublic Axes3D(double xMax, double xMin, double yMax, double yMin, double zMax, double zMin, java.awt.Color cX, java.awt.Color cY, java.awt.Color cZ)
xMax
- right endpoint of the x-axisxMin
- left endpoint of the x-axisyMax
- top endpoint of the y-axisyMin
- bottom endpoint of the y-axiszMax
- front endpoint of the z-axiszMin
- back endpoint of the z-axiscX
- color for the x-axiscY
- color for the y-axiscZ
- color for the z-axis