final class PolarPoint extends java.lang.Object implements Point
Modifier and Type | Field and Description |
---|---|
private java.awt.Color |
color |
private double |
r |
private double |
theta |
Constructor and Description |
---|
PolarPoint(double theta,
double r,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor() |
double |
getX() |
double |
getY() |
private final double theta
private final double r
private final java.awt.Color color
public PolarPoint(double theta, double r, java.awt.Color color)