![]() | ViewManagerGetNodeWithPosition Method |
Namespace: VIZCore3DX.NET.Manager
public Tuple<Node, Vector3D> GetNodeWithPosition( Point point )
// VIZCore3DX.NET Control private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx; private void Example() { System.Drawing.Point point = new Point(300, 400); //View 2D 좌표 상의 노드와 전역좌표 반환 var temp = vizcore3dx.View.GetNodeWithPosition(point); //노드이름, 좌표 확인 MessageBox.Show(string.Format("{0} / ({1} : {2} : {3})", temp.Item1.NodeName, temp.Item2.X, temp.Item2.Y, temp.Item2.Z)); }