본문으로 건너뛰기

GetBoundBox

public BoundBox3D GetBoundBox(int id)

공간의 바운드박스를 반환합니다.

Parameters​

NameTypeDescription
idint공간 아이디

Returns​

TypeDescription
BoundBox3D바운드박스

Examples​

// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;

public void Example()
{
System.Collections.Generic.List<int> ids = vizcore3dx.Zone.GetIDs();
if (ids.Count == 0) return;

VIZCore3DX.NET.Data.BoundBox3D box = vizcore3dx.Zone.GetBoundBox(ids[0]);
System.Diagnostics.Debug.WriteLine(box.ToString());
}