hidden, lineSegmentList
Constructor and Description |
---|
Circle()
Create a circle in the xy-plane with radius 1 and
with 12 line segments around the circumference.
|
Circle(double r)
Create a circle in the xy-plane with radius
r
and with 12 line segments around the circumference. |
Circle(double r,
int n)
Create a circle in the xy-plane with radius
r
and with n line segments around the circumference. |
public Circle()
public Circle(double r)
r
and with 12 line segments around the circumference.r
- radius of the circlepublic Circle(double r, int n)
r
and with n
line segments around the circumference.r
- radius of the circlen
- number of line segments in the circle's circumference