Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.Circle
Source: src/com/multiversesocial/hyperview/Circle.java
Calculate all the X/Y pairs given radius and Number of points resolution. By Tony Swain May 18 2000 Of course this can be optimized by useing 1/4 clone.
Extends: none
Implements: none
public class Circle
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
HyperView curView | No comment in source; assigned in Circle(); used in destroy(). | ||
int fGPen | = 0 | No comment in source; name appears in 34 other source file(s): BasicPane, ChannelControlPane, DBText, DataBaseDispatch …. | |
HyperLine[] line | No comment in source; assigned in Circle(), destroy(). | ||
int totalLines | = 0 | No comment in source; name appears in 1 other source file(s): HyperView. | |
int totalPoints | = 0 | No comment in source; assigned in Circle(). | |
int[] x | No comment in source; assigned in Circle(). | ||
int[] y | No comment in source; assigned in Circle(). |
| Signature | Description | Source |
|---|---|---|
Circle(double radius, int npoints) | 11 statement(s); calls super(), Math.toRadians(), Math.cos(), Math.sin(). | |
Circle(HyperView tView, double radius, int npoints) | 4 statement(s); calls this(), curView.addCircle(). |
| Signature | Description | Source |
|---|---|---|
public void destroy() | Remove lines created by addCircle() from the view line list by clearing refs. |