GetMoldLineVisible
public bool GetMoldLineVisible(Object3DMoldLine line)
몰드 선분 1개의 표시 여부 반환
Remarks
SetMoldLineVisible 로 숨긴 선분이면 false, 그 외에는 true 를 반환한다.
몰드 라인 전체 표시(Visible) 상태는 반영하지 않는다.
Parameters
| Name | Type | Description |
|---|---|---|
| line | Object3DMoldLine | 대상 몰드 선분 |
Returns
| Type | Description |
|---|---|
| bool | 표시 여부 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
List<VIZCore3D.NET.Data.Object3DMoldLine> lines = vizcore3d.View.MoldLine.GetMoldLines();
// 숨겨진 선분 수
int hidden = 0;
foreach (VIZCore3D.NET.Data.Object3DMoldLine line in lines)
{
if (!vizcore3d.View.MoldLine.GetMoldLineVisible(line)) hidden++;
}
}