| Modifier and Type | Method and Description |
|---|---|
static StdDraw3D.Shape |
StdDraw3D.box(double x,
double y,
double z,
double w,
double h,
double d)
Draws a box at (x, y, z) with dimensions (w, h, d).
|
static StdDraw3D.Shape |
StdDraw3D.box(double x,
double y,
double z,
double w,
double h,
double d,
double xA,
double yA,
double zA)
Draws a box at (x, y, z) with dimensions (w, h, d) and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.box(double x,
double y,
double z,
double w,
double h,
double d,
double xA,
double yA,
double zA,
String imageURL)
Draws a box at (x, y, z) with dimensions (w, h, d), axial rotations (xA, yA, zA), and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.box(double x,
double y,
double z,
double w,
double h,
double d,
String imageURL)
Draws a box at (x, y, z) with dimensions (w, h, d) and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.coloredModel(String filename) |
static StdDraw3D.Shape |
StdDraw3D.coloredModel(String filename,
boolean resize) |
static StdDraw3D.Shape |
StdDraw3D.combine(StdDraw3D.Shape... shapes)
Combines any number of shapes into one shape and returns it.
|
static StdDraw3D.Shape |
StdDraw3D.cone(double x,
double y,
double z,
double r,
double h)
Draws a cone at (x, y, z) with radius r and height h.
|
static StdDraw3D.Shape |
StdDraw3D.cone(double x,
double y,
double z,
double r,
double h,
double xA,
double yA,
double zA)
Draws a cone at (x, y, z) with radius r, height h, and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.cone(double x,
double y,
double z,
double r,
double h,
double xA,
double yA,
double zA,
String imageURL)
Draws a cone at (x, y, z) with radius r, height h, axial rotations (xA, yA, zA), and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.cone(double x,
double y,
double z,
double r,
double h,
String imageURL)
Draws a cone at (x, y, z) with radius r, height h, and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.copy(StdDraw3D.Shape shape)
Returns an identical copy of a Shape that can be controlled independently.
|
static StdDraw3D.Shape |
StdDraw3D.cube(double x,
double y,
double z,
double r)
Draws a cube at (x, y, z) with radius r.
|
static StdDraw3D.Shape |
StdDraw3D.cube(double x,
double y,
double z,
double r,
double xA,
double yA,
double zA)
Draws a cube at (x, y, z) with radius r and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.cube(double x,
double y,
double z,
double r,
double xA,
double yA,
double zA,
String imageURL)
Draws a cube at (x, y, z) with radius r, axial rotations (xA, yA, zA), and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.cube(double x,
double y,
double z,
double r,
String imageURL)
Draws a cube at (x, y, z) with radius r and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.cylinder(double x,
double y,
double z,
double r,
double h)
Draws a cylinder at (x, y, z) with radius r and height h.
|
static StdDraw3D.Shape |
StdDraw3D.cylinder(double x,
double y,
double z,
double r,
double h,
double xA,
double yA,
double zA)
Draws a cylinder at (x, y, z) with radius r, height h, and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.cylinder(double x,
double y,
double z,
double r,
double h,
double xA,
double yA,
double zA,
String imageURL)
Draws a cylinder at (x, y, z) with radius r, height h, axial rotations (xA, yA, zA), and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.cylinder(double x,
double y,
double z,
double r,
double h,
String imageURL)
Draws a cylinder at (x, y, z) with radius r, height h, and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.ellipsoid(double x,
double y,
double z,
double w,
double h,
double d)
Draws an ellipsoid at (x, y, z) with dimensions (w, h, d).
|
static StdDraw3D.Shape |
StdDraw3D.ellipsoid(double x,
double y,
double z,
double w,
double h,
double d,
double xA,
double yA,
double zA)
Draws an ellipsoid at (x, y, z) with dimensions (w, h, d) and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.ellipsoid(double x,
double y,
double z,
double w,
double h,
double d,
double xA,
double yA,
double zA,
String imageURL)
Draws an ellipsoid at (x, y, z) with dimensions (w, h, d), axial rotations (xA, yA, zA), and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.ellipsoid(double x,
double y,
double z,
double w,
double h,
double d,
String imageURL)
Draws an ellipsoid at (x, y, z) with dimensions (w, h, d) and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.line(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
Draws a single line from (x1, y1, z1) to (x2, y2, z2).
|
static StdDraw3D.Shape |
StdDraw3D.lines(double[] x,
double[] y,
double[] z)
Draws a set of connected lines.
|
static StdDraw3D.Shape |
StdDraw3D.lines(double[] x,
double[] y,
double[] z,
Color[] colors)
Draws a set of connected lines.
|
static StdDraw3D.Shape |
StdDraw3D.model(String filename) |
static StdDraw3D.Shape |
StdDraw3D.model(String filename,
boolean resize) |
static StdDraw3D.Shape |
StdDraw3D.point(double x,
double y,
double z)
Draws a single point at (x, y, z).
|
static StdDraw3D.Shape |
StdDraw3D.points(double[] x,
double[] y,
double[] z)
Draws a set of points at the given coordinates.
|
static StdDraw3D.Shape |
StdDraw3D.points(double[] x,
double[] y,
double[] z,
Color[] colors)
Draws a set of points at the given coordinates with the given colors.
|
static StdDraw3D.Shape |
StdDraw3D.polygon(double[] x,
double[] y,
double[] z)
Draws a filled polygon with the given vertices.
|
static StdDraw3D.Shape |
StdDraw3D.sphere(double x,
double y,
double z,
double r)
Draws a sphere at (x, y, z) with radius r.
|
static StdDraw3D.Shape |
StdDraw3D.sphere(double x,
double y,
double z,
double r,
double xA,
double yA,
double zA)
Draws a sphere at (x, y, z) with radius r and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.sphere(double x,
double y,
double z,
double r,
double xA,
double yA,
double zA,
String imageURL)
Draws a sphere at (x, y, z) with radius r, axial rotations (xA, yA, zA), and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.sphere(double x,
double y,
double z,
double r,
String imageURL)
Draws a sphere at (x, y, z) with radius r and a texture from imageURL.
|
static StdDraw3D.Shape |
StdDraw3D.text3D(double x,
double y,
double z,
String text)
Draws a 3D text object at (x, y, z).
|
static StdDraw3D.Shape |
StdDraw3D.text3D(double x,
double y,
double z,
String text,
double xA,
double yA,
double zA)
Draws a 3D text object at (x, y, z) with Euler rotation angles (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.triangles(double[][] points)
Draws triangles which are defined by x1=points[i][0], y1=points[i][1], z1=points[i][2], x2=points[i][3], etc.
|
static StdDraw3D.Shape |
StdDraw3D.triangles(double[][] points,
Color[] colors)
Draws a set of triangles, each with the specified color.
|
static StdDraw3D.Shape |
StdDraw3D.tube(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double r)
Draws a cylindrical tube of radius r from vertex (x1, y1, z1) to vertex (x2, y2, z2).
|
static StdDraw3D.Shape |
StdDraw3D.tubes(double[] x,
double[] y,
double[] z,
double r)
Draws a series of cylindrical tubes of radius r, with vertices (x, y, z).
|
static StdDraw3D.Shape |
StdDraw3D.tubes(double[] x,
double[] y,
double[] z,
double r,
Color[] colors)
Draws a series of cylindrical tubes of radius r, with vertices (x, y, z) and the given colors.
|
static StdDraw3D.Shape |
StdDraw3D.wireBox(double x,
double y,
double z,
double w,
double h,
double d)
Draws a wireframe box at (x, y, z) with dimensions (w, h, d).
|
static StdDraw3D.Shape |
StdDraw3D.wireBox(double x,
double y,
double z,
double w,
double h,
double d,
double xA,
double yA,
double zA)
Draws a wireframe box at (x, y, z) with dimensions (w, h, d) and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.wireCone(double x,
double y,
double z,
double r,
double h)
Draws a wireframe cone at (x, y, z) with radius r and height h.
|
static StdDraw3D.Shape |
StdDraw3D.wireCone(double x,
double y,
double z,
double r,
double h,
double xA,
double yA,
double zA)
Draws a wireframe cone at (x, y, z) with radius r, height h, and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.wireCube(double x,
double y,
double z,
double r)
Draws a wireframe cube at (x, y, z) with radius r.
|
static StdDraw3D.Shape |
StdDraw3D.wireCube(double x,
double y,
double z,
double r,
double xA,
double yA,
double zA)
Draws a wireframe cube at (x, y, z) with radius r and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.wireCylinder(double x,
double y,
double z,
double r,
double h)
Draws a wireframe cylinder at (x, y, z) with radius r and height h.
|
static StdDraw3D.Shape |
StdDraw3D.wireCylinder(double x,
double y,
double z,
double r,
double h,
double xA,
double yA,
double zA)
Draws a wireframe cylinder at (x, y, z) with radius r, height h, and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.wireEllipsoid(double x,
double y,
double z,
double w,
double h,
double d)
Draws a wireframe ellipsoid at (x, y, z) with dimensions (w, h, d).
|
static StdDraw3D.Shape |
StdDraw3D.wireEllipsoid(double x,
double y,
double z,
double w,
double h,
double d,
double xA,
double yA,
double zA)
Draws a wireframe ellipsoid at (x, y, z) with dimensions (w, h, d) and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.wirePolygon(double[] x,
double[] y,
double[] z)
Draws the triangulated outline of a polygon with the given vertices.
|
static StdDraw3D.Shape |
StdDraw3D.wireSphere(double x,
double y,
double z,
double r)
Draws a wireframe sphere at (x, y, z) with radius r.
|
static StdDraw3D.Shape |
StdDraw3D.wireSphere(double x,
double y,
double z,
double r,
double xA,
double yA,
double zA)
Draws a wireframe sphere at (x, y, z) with radius r and axial rotations (xA, yA, zA).
|
static StdDraw3D.Shape |
StdDraw3D.wireTriangles(double[][] points) |
static StdDraw3D.Shape |
StdDraw3D.wireTriangles(double[][] points,
Color[] colors)
Draws a set of wireframetriangles, each with the specified color.
|
| Modifier and Type | Method and Description |
|---|---|
static StdDraw3D.Shape |
StdDraw3D.combine(StdDraw3D.Shape... shapes)
Combines any number of shapes into one shape and returns it.
|
static StdDraw3D.Shape |
StdDraw3D.copy(StdDraw3D.Shape shape)
Returns an identical copy of a Shape that can be controlled independently.
|
void |
StdDraw3D.Camera.match(StdDraw3D.Shape s) |
void |
StdDraw3D.Shape.match(StdDraw3D.Shape s) |
void |
StdDraw3D.Light.match(StdDraw3D.Shape s) |
void |
StdDraw3D.Camera.pair(StdDraw3D.Shape s) |
Copyright © 2015. All Rights Reserved.