ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinNode Class / ToMapPoint Method
Example

In This Topic
    ToMapPoint Method (TinNode)
    In This Topic
    Gets a ArcGIS.Core.Geometry.MapPoint with the X, Y and Z values. The spatial reference of the returned point is set to the spatial reference of the TIN. See TinDatasetDefinition.GetSpatialReference.
    Syntax
    public MapPoint ToMapPoint()
    Public Function ToMapPoint() As MapPoint

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    Example
    TIN Nodes
    // node coordinates
    var coord3D = node.Coordinate3D;
    var mapPoint = node.ToMapPoint();
    // is the node "inside"
    var isInsideNode = node.IsInsideDataArea;
    
    // get all other nodes connected to "node" 
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinNode> adjNodes = node.GetAdjacentNodes();
    
    // get all edges that share "node" as a from node. 
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinEdge> edges = node.GetIncidentEdges();
    
    // get all triangles that share "node"
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinTriangle> triangles = node.GetIncidentTriangles();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also