ClashManagerClearResultSymbol Method |
Namespace: VIZCore3D.NET.Manager
public void ClearResultSymbol()
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example1() { if (vizcore3d.Model.IsOpen() == false) return; if (vizcore3d.Clash.Items.Count == 0) return; List<VIZCore3D.NET.Data.Vertex3D> hotPoint = new List<VIZCore3D.NET.Data.Vertex3D>(); hotPoint.Add(new Data.Vertex3D(0, 0, 0)); hotPoint.Add(new Data.Vertex3D(100, 100, 100)); hotPoint.Add(new Data.Vertex3D(200, 200, 200)); List<VIZCore3D.NET.Data.ClashResultSymbols> symbols = new List<VIZCore3D.NET.Data.ClashResultSymbols>(); symbols.Add(VIZCore3D.NET.Data.ClashResultSymbols.Circle); // 근접 symbols.Add(VIZCore3D.NET.Data.ClashResultSymbols.Square); // 접촉 symbols.Add(VIZCore3D.NET.Data.ClashResultSymbols.Triangle); // 침투 vizcore3d.Clash.ShowResultSymbol( hotPoint /* Position - Clash Points */ , symbols /* Symbol Kind */ , 10 /* Radius */ , true /* Fixed Size */ , System.Drawing.Color.Yellow /* Color */ , true /* Number Text Visible */ ); } private void Example2() { vizcore3d.Clash.ClearResultSymbol(); }