Click or drag to resize

MeasureManagerAddCustomCylinderCylinderAxisCrossPoint Method

[사용자 정의] 실린더와 실린더의 교차되는 지점 측정

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public int AddCustomCylinderCylinderAxisCrossPoint(
	int index1,
	int index2
)

Parameters

index1
Type: SystemInt32
노드 인덱스
index2
Type: SystemInt32
노드 인덱스

Return Value

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

private void Example()
{
    VIZCore3D.NET.Data.Node pipe = vizcore3d.Object3D.FromIndex(4);

    List<VIZCore3D.NET.Data.Node> cylinder1 = pipe.GetChildObject3d(
        Data.Object3DChildOption.CHILD_ONLY         /* Option */
        , new List<string>() { "Part 1 of PIPE" }   /* Keyword */
        , false     /* Join Condition */
        , false     /* Assembly Only */
        , false     /* Visible Only */
        , false     /* Full Match */
        );

    List<VIZCore3D.NET.Data.Node> cylinder2 = pipe.GetChildObject3d(
        Data.Object3DChildOption.CHILD_ONLY         /* Option */
        , new List<string>() { "Part 2 of PIPE" }   /* Keyword */
        , false     /* Join Condition */
        , false     /* Assembly Only */
        , false     /* Visible Only */
        , false     /* Full Match */
        );

    if (cylinder1.Count == 0) return;
    if (cylinder2.Count == 0) return;

    int measureId = vizcore3d.Review.Measure.AddCustomCylinderCylinderAxisCrossPoint(
        cylinder1[0].Index      /* Cylinder Node Index */
        , cylinder2[0].Index    /* Cylinder Node Index */
        );
}
See Also