본문으로 건너뛰기

AddCustomCylinderCylinderAxisCrossPoint

Overloads

NameDescription
AddCustomCylinderCylinderAxisCrossPoint(int index1, int index2)[사용자 정의] 실린더와 실린더의 교차되는 지점 측정

AddCustomCylinderCylinderAxisCrossPoint(int index1, int index2)

public int AddCustomCylinderCylinderAxisCrossPoint(int index1, int index2)

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

Parameters

NameTypeDescription
index1int노드 인덱스
index2int노드 인덱스

Returns

TypeDescription
int측정(리뷰) 아이디(ID)

Examples

// 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 */
);
}