|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.starhope.appius.physica.Circle
class Circle
Circle class. Circles are fundamental to computation of Delaunay triangulations. In particular, an operation which computes a circle defined by three points is required.
| Field Summary | |
|---|---|
(package private) Point2D.Double |
centre
WRITEME: Document this brpocock@star-hope.org |
(package private) double |
radius
WRITEME: Document this brpocock@star-hope.org |
| Constructor Summary | |
|---|---|
Circle()
WRITEME |
|
Circle(Point2D.Double newCentre,
double newRadius)
|
|
| Method Summary | |
|---|---|
boolean |
contains(Point2D.Double p)
Tests if a point lies inside the circle instance. |
void |
findCircumcircle(Point2D.Double p1,
Point2D.Double p2,
Point2D.Double p3)
Compute the circle defined by three points (circumcircle). |
Point2D.Double |
getCentre()
|
double |
getRadius()
|
void |
set(Point2D.Double c,
double r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Point2D.Double centre
double radius
| Constructor Detail |
|---|
Circle()
Circle(Point2D.Double newCentre,
double newRadius)
newCentre - WRITEMEnewRadius - WRITEME| Method Detail |
|---|
public boolean contains(Point2D.Double p)
p - WRITEME
public void findCircumcircle(Point2D.Double p1,
Point2D.Double p2,
Point2D.Double p3)
p1 - WRITEMEp2 - WRITEMEp3 - WRITEMEpublic Point2D.Double getCentre()
public double getRadius()
public void set(Point2D.Double c,
double r)
c - WRITEMEr - WRITEME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||