VectorLayer.NearestTo

NearestTo(double, double)

获取最近于提供的坐标的特征。

public Feature NearestTo(double x, double y)
参数类型描述
xDouble坐标的 X。
yDouble坐标的 Y。

返回值

提供的坐标最近的特征。

另见


NearestTo(IPoint)

获取最近于提供的点的特征。

public Feature NearestTo(IPoint point)
参数类型描述
IPoint该点。

返回值

提供的点最近的特征。

异常

异常条件
ArgumentNullException点为 null
ArgumentException点为空或无效。

另见