| MeasureManagerAddCustomCylinderCylinderAxisCrossPoint Method |
[사용자 정의] 실린더와 실린더의 교차되는 지점 측정
Namespace: VIZCore3D.NET.ManagerAssembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax public int AddCustomCylinderCylinderAxisCrossPoint(
int index1,
int index2
)
Parameters
- index1 Int32
- 노드 인덱스
- index2 Int32
- 노드 인덱스
Return Value
Int32측정(리뷰) 아이디(ID)
Example
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
, new List<string>() { "Part 1 of PIPE" }
, false
, false
, false
, false
);
List<VIZCore3D.NET.Data.Node> cylinder2 = pipe.GetChildObject3d(
Data.Object3DChildOption.CHILD_ONLY
, new List<string>() { "Part 2 of PIPE" }
, false
, false
, false
, false
);
if (cylinder1.Count == 0) return;
if (cylinder2.Count == 0) return;
int measureId = vizcore3d.Review.Measure.AddCustomCylinderCylinderAxisCrossPoint(
cylinder1[0].Index
, cylinder2[0].Index
);
}
See Also