Click or drag to resize

MeasureManagerAddCustom3PointAngle Method (Vertex3D, Vertex3D, Vertex3D)

[사용자 정의] 3점 각도 측정 추가

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public int AddCustom3PointAngle(
	Vertex3D basePosition,
	Vertex3D position1,
	Vertex3D position2
)

Parameters

basePosition
Type: VIZCore3D.NET.DataVertex3D
중심점(원점)
position1
Type: VIZCore3D.NET.DataVertex3D
위치 1
position2
Type: VIZCore3D.NET.DataVertex3D
위치 2

Return Value

Type: Int32
측정(리뷰) 아이디(ID)
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    // 원점
    VIZCore3D.NET.Data.Vertex3D BasePosition = 
        new VIZCore3D.NET.Data.Vertex3D(123951, 1256, 2018);

    // 측정포인트 1
    VIZCore3D.NET.Data.Vertex3D Position1 = 
        new VIZCore3D.NET.Data.Vertex3D(143951, 1056, 2018);

    // 측정포인트 2
    VIZCore3D.NET.Data.Vertex3D Position2 = 
        new VIZCore3D.NET.Data.Vertex3D(163951, 1256, 2018);

    int id = vizcore3d.Review.Measure.AddCustom3PointAngle(
        BasePosition                    /* 원점 */
        , Position1                     /* 측정포인트 1 */
        , Position2                     /* 측정포인트 2 */
    );
}
See Also