Click or drag to resize

ClashManagerShowResultSymbol Method (ListVertex3D, ListClashResultSymbols, Single, Boolean, NullableColor, Boolean)

간섭검사 결과 심벌 조회

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public void ShowResultSymbol(
	List<Vertex3D> v,
	List<ClashResultSymbols> symbol,
	float radius = 10f,
	bool fixedSize = true,
	Color? symbolColor = null,
	bool visibleNumber = false
)

Parameters

v
Type: System.Collections.GenericListVertex3D
Hot Point
symbol
Type: System.Collections.GenericListClashResultSymbols
심벌 유형
radius (Optional)
Type: SystemSingle
반지름
fixedSize (Optional)
Type: SystemBoolean
크기 고정 : True (크기고정), False(화면비율에 따른 크기 변경)
symbolColor (Optional)
Type: SystemNullableColor
심벌 색상
visibleNumber (Optional)
Type: SystemBoolean
심벌 번호 조회
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