GetNaturalNeighbors Method
Gets the set of nodes that are the natural neighbors of the specified point.
The natural neighbors of a point are the nodes it would connect with to form triangles if it were inserted in the triangulation.
They are the closest surrounding nodes in all directions.
This method must be called on the MCT. Use QueuedTask.Run.
Access TIN Elements by MapPoint
// "identify" the closest node, edge, triangle
using (var nearestNode = tinDataset.GetNearestNode(mapPoint))
{
}
using (var nearestEdge = tinDataset.GetNearestEdge(mapPoint))
{
}
using (var triangle = tinDataset.GetTriangleByPoint(mapPoint))
{
}
// get the set of natural neighbours
// (set of nodes that "mapPoint" would connect with to form triangles if it was added to the TIN)
IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinNode> naturalNeighbors = tinDataset.GetNaturalNeighbors(mapPoint);
// get the set of triangles whose circumscribed circle contains "mapPoint"
IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinTriangle> triangles = tinDataset.GetTriangleNeighborhood(mapPoint);
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.2 or higher.