|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.grids.utilities.ErrorHandler uk.ac.leeds.ccg.andyt.gws.core.GWS
public class GWS
TODO: docs
Nested Class Summary | |
---|---|
protected class |
GWS.Point2DBigDecimal_DistanceBigDecimal_IDInt
A basic class for holding a Point2DBigDecimal a BigDecimal and an int. |
protected class |
GWS.Point2DDouble_DistanceDouble_IDInt
A basic class for holding a Point2D.Double a double and an int in a single object TODO: documentation |
Field Summary | |
---|---|
protected double |
cellsizeDouble
|
protected long |
col
|
protected uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessor |
grid2DSquareCellProcessor
|
protected long |
row
|
protected double |
weightFactor
|
protected double |
weightIntersect
|
Fields inherited from class uk.ac.leeds.ccg.andyt.grids.utilities.ErrorHandler |
---|
handleOutOfMemoryErrorFalse, handleOutOfMemoryErrorTrue, memoryReserve |
Constructor Summary | |
---|---|
GWS()
|
Method Summary | |
---|---|
protected java.util.HashSet |
getInDistancePoint2DBigDecimal_DistanceBigDecimal_IDInts(java.util.HashSet pointIDsHashSet,
Point2DBigDecimal[] points,
Point2DBigDecimal point,
java.math.BigDecimal distanceBigDecimal,
int decimalPlaces)
Returns a HashSet of Point2DDouble_DistanceDouble_IDInt objects comprised of those Points from points that are withing distance of point Only those points with IDs in IDsHashSet are necessarily tested. |
protected java.util.HashSet |
getInDistancePoint2DBigDecimal_DistanceBigDecimal_IDInts(Point2DBigDecimal[] points,
Point2DBigDecimal point,
java.math.BigDecimal distanceBigDecimal,
int decimalPlaces)
Returns a HashSet of Point2DDouble_DistanceDouble_IDInt objects comprised of those Points from points that are withing distance of point |
protected java.util.HashSet |
getInDistancePoint2DDouble_DistanceDouble_IDInts(java.util.HashSet pointIDsHashSet,
java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
double distance)
Returns a HashSet of Point2DDouble_DistanceDouble_IDInt objects comprised of those Points from points that are withing distance of point Only those points with IDs in IDsHashSet are necessarily tested. |
protected java.util.HashSet |
getInDistancePoint2DDouble_DistanceDouble_IDInts(java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
double distance)
Returns a HashSet of Point2DDouble_DistanceDouble_IDInt objects comprised of those Points from points that are withing distance of point |
protected GWS.Point2DDouble_DistanceDouble_IDInt[] |
getInDistancePoint2DDouble_DistanceDouble_IDIntsArray(java.util.HashSet pointIDsHashSet,
java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
double distance)
Returns a Point2DDouble_DistanceDouble_IDInt[] containing Point2DDouble_DistanceDouble_IDInt objects - those points from points that are withing distance of point. |
protected GWS.Point2DDouble_DistanceDouble_IDInt[] |
getInDistancePoint2DDouble_DistanceDouble_IDIntsArray(java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
double distance)
Returns a Point2DDouble_DistanceDouble_IDInt[] comprised of those Points from points that are within distance of point. |
protected java.util.HashSet |
getInDistancePointIDs(java.util.HashSet pointIDsHashSet,
java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
double distance)
|
protected java.util.HashSet |
getInDistancePointIDs(java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
double distance)
|
protected GWS.Point2DDouble_DistanceDouble_IDInt[] |
getNearestPoint2DDouble_DistanceDouble_IDInts(GWS.Point2DDouble_DistanceDouble_IDInt[] point2DDouble_DistanceDouble_IDInts,
java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
int numberOfPoints,
int numberOfPointsFactor,
double checkDistance)
Returns a Point2DDouble_DistanceDouble_IDInt[] thats points are the closest numberOfPoints in pointsDistanceIDs to point. |
protected GWS.Point2DDouble_DistanceDouble_IDInt[] |
getNearestPoint2DDouble_DistanceDouble_IDInts(java.util.HashSet pointIDs,
java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
int numberOfPoints,
int numberOfPointsFactor)
Returns a Point2DDouble_DistanceDouble_IDInt[] thats points are the closest numberOfPoints in points to point. |
protected GWS.Point2DDouble_DistanceDouble_IDInt[] |
getNearestPoint2DDouble_DistanceDouble_IDInts(java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
int numberOfPoints,
int numberOfPointsFactor)
Returns a Point2DDouble_DistanceDouble_IDInt[] thats points are the closest numberOfPoints in points to point. |
protected java.lang.Object[] |
getNearestPoint2DDouble_DistanceDouble_IDIntsAndOtherInfo(java.util.HashSet pointIDsHashSet,
java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
int numberOfPoints,
int numberOfPointsFactor,
double setDistance)
Returns an Object[] result result[ 0 ] is a Point2DDouble_DistanceDouble_IDInt[] thats points are the closest numberOfPoints in points to point. |
protected java.lang.Object[] |
getNearestPoint2DDouble_DistanceDouble_IDIntsAndOtherInfo(java.awt.geom.Point2D.Double[] points,
java.awt.geom.Point2D.Double point,
int numberOfPoints,
int numberOfPointsFactor,
double setDistance)
Returns an Object[] result result[ 0 ] is a Point2DDouble_DistanceDouble_IDInt[] thats points are the closest numberOfPoints in points to point. |
Methods inherited from class uk.ac.leeds.ccg.andyt.grids.utilities.ErrorHandler |
---|
clearMemoryReserve, initMemoryReserve, initMemoryReserve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessor grid2DSquareCellProcessor
protected long row
protected long col
protected double cellsizeDouble
protected double weightIntersect
protected double weightFactor
Constructor Detail |
---|
public GWS()
Method Detail |
---|
protected GWS.Point2DDouble_DistanceDouble_IDInt[] getNearestPoint2DDouble_DistanceDouble_IDInts(java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, int numberOfPoints, int numberOfPointsFactor)
protected GWS.Point2DDouble_DistanceDouble_IDInt[] getNearestPoint2DDouble_DistanceDouble_IDInts(java.util.HashSet pointIDs, java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, int numberOfPoints, int numberOfPointsFactor)
pointIDs
- a HashSet containing IDs of Points in points which are
consideredpoints
- the entire set of Points being consideredpoint
- the Point of the location being analysednumberOfPoints
- the least number of Points in points for which
Point2DDouble_DistanceDouble_IDInts are returnednumberOfPointsFactor
- a factor which when multiplied byprotected GWS.Point2DDouble_DistanceDouble_IDInt[] getNearestPoint2DDouble_DistanceDouble_IDInts(GWS.Point2DDouble_DistanceDouble_IDInt[] point2DDouble_DistanceDouble_IDInts, java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, int numberOfPoints, int numberOfPointsFactor, double checkDistance)
point2DDouble_DistanceDouble_IDInts
- points
- point
- numberOfPoints
- numberOfPointsFactor,
- checkDistance
- XXXX Strangely no longer used!!!protected java.lang.Object[] getNearestPoint2DDouble_DistanceDouble_IDIntsAndOtherInfo(java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, int numberOfPoints, int numberOfPointsFactor, double setDistance)
protected java.lang.Object[] getNearestPoint2DDouble_DistanceDouble_IDIntsAndOtherInfo(java.util.HashSet pointIDsHashSet, java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, int numberOfPoints, int numberOfPointsFactor, double setDistance)
protected java.util.HashSet getInDistancePointIDs(java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, double distance)
uk.ac.leeds.ccg.gws.Utilities.getInDistancePointIDs
protected java.util.HashSet getInDistancePointIDs(java.util.HashSet pointIDsHashSet, java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, double distance)
uk.ac.leeds.ccg.gws.Utilities.getInDistancePointIDs
protected java.util.HashSet getInDistancePoint2DDouble_DistanceDouble_IDInts(java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, double distance)
protected java.util.HashSet getInDistancePoint2DBigDecimal_DistanceBigDecimal_IDInts(Point2DBigDecimal[] points, Point2DBigDecimal point, java.math.BigDecimal distanceBigDecimal, int decimalPlaces)
protected java.util.HashSet getInDistancePoint2DDouble_DistanceDouble_IDInts(java.util.HashSet pointIDsHashSet, java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, double distance)
protected java.util.HashSet getInDistancePoint2DBigDecimal_DistanceBigDecimal_IDInts(java.util.HashSet pointIDsHashSet, Point2DBigDecimal[] points, Point2DBigDecimal point, java.math.BigDecimal distanceBigDecimal, int decimalPlaces)
protected GWS.Point2DDouble_DistanceDouble_IDInt[] getInDistancePoint2DDouble_DistanceDouble_IDIntsArray(java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, double distance)
protected GWS.Point2DDouble_DistanceDouble_IDInt[] getInDistancePoint2DDouble_DistanceDouble_IDIntsArray(java.util.HashSet pointIDsHashSet, java.awt.geom.Point2D.Double[] points, java.awt.geom.Point2D.Double point, double distance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |