Package worldBuilder
Class Proxcimity
- java.lang.Object
-
- worldBuilder.Vicinity
-
- worldBuilder.Proxcimity
-
public class Proxcimity extends Vicinity
Proxcimity is the set of MeshPoints nearest to an (x,y) coordinate This Vicnity sub-class yields satisfactory interpolations of continuous functions (like altitude).
-
-
Field Summary
-
Fields inherited from class worldBuilder.Vicinity
distances, neighbors, NUM_NEIGHBORS
-
-
Constructor Summary
Constructors Constructor Description Proxcimity(Mesh mesh, double x, double y)
create a new Vicinity from the closest MeshPoints
-
Method Summary
-
Methods inherited from class worldBuilder.Vicinity
interpolate, nearest, nearestValid
-
-
-
-
Constructor Detail
-
Proxcimity
public Proxcimity(Mesh mesh, double x, double y)
create a new Vicinity from the closest MeshPoints- Parameters:
mesh
- to be searchedx
- coordinate of vicinityy
- coordinate of vicinity
-
-