SetMoldLineVisibleAtPoint
public List<Object3DMoldLine> SetMoldLineVisibleAtPoint(Vector3D point, float tolerance, bool visible)
지정 좌표가 놓인 몰드 선분의 표시 여부 설정
Remarks
좌표에서 허용 오차 안에 있는 몰드 선분을 모두 찾아 SetMoldLineVisible 로 설정한다.
좌표가 선분의 끝점에 놓이면 이웃한 선분이 함께 포함될 수 있다.
좌표는 노드를 이동하기 전의 원본 좌표 기준이며, 점 측정·노트에 표시되는 값을 그대로 쓰면 된다.
몰드 라인 계산 시점은 GetMoldLines 와 같다.
Parameters
| Name | Type | Description |
|---|---|---|
| point | Vector3D | 3D 좌표 (mm) |
| tolerance | float | 허용 오차 (mm). 좌표에서 선분까지의 최단 거리가 이 값 이하이면 대상 |
| visible | bool | true = 표시, false = 숨김 |
Returns
| Type | Description |
|---|---|
| List<Object3DMoldLine> | 설정된 몰드 선분 목록. 없으면 빈 목록 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
// 점 측정 좌표에 놓인 몰드 선분 숨김 (허용 오차 5 mm)
VIZCore3D.NET.Data.Vector3D point = new VIZCore3D.NET.Data.Vector3D(27200.0f, 1180.0f, 30181.5f);
List<VIZCore3D.NET.Data.Object3DMoldLine> lines = vizcore3d.View.MoldLine.SetMoldLineVisibleAtPoint(point, 5.0f, false);
System.Diagnostics.Debug.WriteLine("숨긴 선분 수 = " + lines.Count);
}