## PolygonMesh.Edges

### Description

Returns an EdgeCollection containing each Edge in the PolygonMesh.

### C# Syntax

    // get accessor
    EdgeCollection rtn = PolygonMesh.Edges;

### Examples

#### VBScript Example

    set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
    set oEdges = oCube.ActivePrimitive.Geometry.Edges
    for each oEdge in oEdges
            logmessage "Index of the edge: " & oEdge.Index
    next

### See Also

Edge EdgeCollection Geometry.Samples