|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--edu.jhu.htm.geometry.ConHelper
|
+--edu.jhu.htm.geometry.Chull
use a set of points to construct a domain construct with the set or create one and add points
Current Version =============== ID: $Id: Chull.java,v 1.2 2003/02/19 15:46:11 womullan Exp $ Revision: $Revision: 1.2 $ Date/time: $Date: 2003/02/19 15:46:11 $
| Field Summary |
| Fields inherited from class edu.jhu.htm.geometry.ConHelper |
conv, domain |
| Constructor Summary | |
Chull()
use this f you are going to add all points then call makeConvex() |
|
Chull(double[] ras,
double[] decs)
pass points in two arrays |
|
| Method Summary | |
void |
add(double ra,
double dec)
add point to polygon - checks for existing points |
void |
add(Vector3d v)
|
Convex |
getConvex()
may not have a convex if makeCOnvex was not called |
void |
makeConvex()
call this if you are done adding points to actually construct the convex for the points get Convex does this anyway though if conv is null.. |
| Methods inherited from class edu.jhu.htm.geometry.ConHelper |
getDomain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.jhu.htm.geometry.DomainProducer |
getDomain |
| Constructor Detail |
public Chull()
public Chull(double[] ras,
double[] decs)
throws java.lang.Exception
| Method Detail |
public void makeConvex()
throws java.lang.Exception
java.lang.Exception
public void add(double ra,
double dec)
public void add(Vector3d v)
public Convex getConvex()
getConvex in interface ConvexProducergetConvex in class ConHelper
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||