본문으로 건너뛰기

FromScreen

Overloads

NameDescription
FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind)뷰 화면에 해당하는 개체 반환
FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind)뷰 화면 좌표 영역에 해당하는 개체 반환
FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)뷰 화면 영역에 해당하는 개체 반환
FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)뷰 화면 좌표 영역에 해당하는 개체 반환

FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind)

public List&lt;Node&gt; FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind)

뷰 화면에 해당하는 개체 반환

Parameters

NameTypeDescription
fullContainsOnlybool영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함)
nodeKindLeafNodeKind반환 노드 유형

Returns

TypeDescription
List<Node>개체 목록

Examples

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;

List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
);
}

FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind)

public List&lt;Node&gt; FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind)

뷰 화면 좌표 영역에 해당하는 개체 반환

Parameters

NameTypeDescription
x1intX 좌표1
y1intY 좌표1
x2intX 좌표2
y2intY 좌표2
fullContainsOnlybool영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함)
nodeKindLeafNodeKind반환 노드 유형

Returns

TypeDescription
List<Node>개체 목록

Examples

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;

List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
0 /* X1 */
, 0 /* Y1 */
, size.Width /* X2 */
, size.Height /* Y2 */
, true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
);
}

FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)

public List&lt;Node&gt; FromScreen(bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List&lt;string&gt; internalObjectsFilter)

뷰 화면 영역에 해당하는 개체 반환

Parameters

NameTypeDescription
fullContainsOnlybool영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함)
nodeKindLeafNodeKind반환 노드 유형
containInternalObjectsbool내부 모델 포함 여부
internalObjectsFilterList<string>내부 모델 검색 키워드

Returns

TypeDescription
List<Node>개체 목록

Examples

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;

List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
, true /* Contain Internal Objects */
, new List<string>() { "INSU" } /* Internal Objects Keyword */
);
}

FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List<string> internalObjectsFilter)

public List&lt;Node&gt; FromScreen(int x1, int y1, int x2, int y2, bool fullContainsOnly, LeafNodeKind nodeKind, bool containInternalObjects, List&lt;string&gt; internalObjectsFilter)

뷰 화면 좌표 영역에 해당하는 개체 반환

Parameters

NameTypeDescription
x1intX 좌표1
y1intY 좌표1
x2intX 좌표2
y2intY 좌표2
fullContainsOnlybool영역에 포함된 모델만 반환 : True(포함된 모델만 검색), False(걸친 모델도 포함)
nodeKindLeafNodeKind반환 노드 유형
containInternalObjectsbool내부 모델 포함 여부
internalObjectsFilterList<string>내부 모델 검색 키워드

Returns

TypeDescription
List<Node>개체 목록

Examples

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
System.Drawing.Size size = vizcore3d.View.Size;

List<VIZCore3D.NET.Data.Node> nodes
= vizcore3d.Object3D.FromScreen(
0 /* X1 */
, 0 /* Y1 */
, size.Width /* X2 */
, size.Height /* Y2 */
, true /* Full Contain */
, VIZCore3D.NET.Data.LeafNodeKind.PART
, true /* Contain Internal Objects */
, new List<string>() { "INSU" } /* Internal Objects Keyword */
);
}