Click or drag to resize

ClashManagerClearResultSymbol Method

간섭검사 결과 심벌 조회 초기화

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public void ClearResultSymbol()
Examples
C#
// 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();
}
See Also