Click or drag to resize

Object3DManagerGetEdgeVertex Method

개체의 Edge Vertex 정보 반환

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public List<Object3DEdgeVertex> GetEdgeVertex(
	int index,
	bool removeDuplicate
)

Parameters

index
Type: SystemInt32
노드 인덱스
removeDuplicate
Type: SystemBoolean
중복 정보 제거

Return Value

Type: ListObject3DEdgeVertex
Edge Vertex List
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    int nodeIndex = 8;

    List<VIZCore3D.NET.Data.Object3DEdgeVertex> items =
        vizcore3d.Object3D.GetEdgeVertex(nodeIndex, true);

    foreach (VIZCore3D.NET.Data.Object3DEdgeVertex item in items)
    {
        int index = item.Index;
        List<VIZCore3D.NET.Data.Vertex3D> vItems = item.Edge;

        foreach (VIZCore3D.NET.Data.Vertex3D point in vItems)
        {
            float x = point.X;
            float y = point.Y;
            float z = point.Z;
        }
    }
}
See Also