hidden, lineSegmentList
Constructor and Description |
---|
Square()
Create a square in the xy-plane with corners
(±1, ±1, 0) . |
Square(double r)
Create a square in the xy-plane with corners
(±r, ±r, 0) . |
Square(double r,
int n)
Create a square in the xy-plane with corners
(±r, ±r, 0) and
with n grid lines parallel to each of the x and y axes. |
Square(double r,
int n,
int m)
Create a square in the xy-plane with corners
(±r, ±r, 0) and
with n grid lines parallel to the y-axis and
with m grid lines parallel to the x-axis. |
Square(int n)
Create a square in the xy-plane with corners
(±1, ±1, 0) and
with n grid lines parallel to each of the x and y axes. |
Square(int n,
int m)
Create a square in the xy-plane with corners
(±1, ±1, 0) and
with n grid lines parallel to the y-axis and
with m grid lines parallel to the x-axis. |
public Square()
(±1, ±1, 0)
.public Square(double r)
(±r, ±r, 0)
.r
- determines the corners of the squarepublic Square(double r, int n)
(±r, ±r, 0)
and
with n
grid lines parallel to each of the x and y axes.r
- determines the corners of the squaren
- number of grid lines parallel to the axespublic Square(double r, int n, int m)
(±r, ±r, 0)
and
with n
grid lines parallel to the y-axis and
with m
grid lines parallel to the x-axis.r
- determines the corners of the squaren
- number of grid lines parallel to the y-axism
- number of grid lines parallel to the x-axispublic Square(int n)
(±1, ±1, 0)
and
with n
grid lines parallel to each of the x and y axes.n
- number of grid lines parallel to the axespublic Square(int n, int m)
(±1, ±1, 0)
and
with n
grid lines parallel to the y-axis and
with m
grid lines parallel to the x-axis.n
- number of grid lines parallel to the y-axism
- number of grid lines parallel to the x-axis