NearestSitePoint() public method

public NearestSitePoint ( float x, float y ) : Nullable
x float
y float
return Nullable
コード例 #1
0
 /**
  *
  * @param proximityMap a BitmapData whose regions are filled with the site index values; see PlanePointsCanvas::fillRegions()
  * @param x
  * @param y
  * @return coordinates of nearest Site to (x, y)
  *
  */
 public Nullable <Point> NearestSitePoint(/*BitmapData proximityMap,*/ double x, double y)
 {
     return(_sites.NearestSitePoint(/*proximityMap,*/ x, y));
 }
コード例 #2
0
 /**
  *
  * @param proximityMap a BitmapData whose regions are filled with the site index values; see PlanePointsCanvas::fillRegions()
  * @param x
  * @param y
  * @return coordinates of nearest Site to (x, y)
  *
  */
 public Nullable <Vector2> NearestSitePoint(/*BitmapData proximityMap,*/ float x, float y)
 {
     return(_sites.NearestSitePoint(/*proximityMap,*/ x, y));
 }
コード例 #3
0
 public Vector2?NearestSitePoint(float x, float y)
 {
     return(_sites.NearestSitePoint(x, y));
 }