Click or drag to resize

MathUtil.ClosestPointInPointCloud Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Returns the point in the list which is closest to the query. Does not treat list as line.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static LatLon ClosestPointInPointCloud(
	LatLon query,
	params LatLon[] pointCloud
)

Parameters

query
Type: Telogis.GeoBase.LatLon
The point to find the closest point to.
pointCloud
Type:Telogis.GeoBase.LatLon[]
The point cloud in which to search.

Return Value

Type: LatLon
The point from the pointCloud which is closest to the query point, or LatLon.Empty if pointCloud is empty.
See Also