# Face edges ordering

**URL:** https://discourse.vtk.org/t/face-edges-ordering/13699
**Category:** Support
**Created:** [April 11, 2024, 9:00pm UTC](https://discourse.vtk.org/t/face-edges-ordering/13699 "2024-04-11T21:00:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![PeterFranzSeequent](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/p/b5a626/32.png) [@PeterFranzSeequent](https://discourse.vtk.org/u/PeterFranzSeequent)
#### Post date: [April 11, 2024, 9:00pm UTC](https://discourse.vtk.org/t/face-edges-ordering/13699/1 "2024-04-11T21:00:46Z")

</div>

Hi,  
I need to iterate over the edges of a face of a 3D cell, doing something like

```auto
vtkCell * face = myCell->GetFace(0)
for (int i=0; i < face->GetNumberOfEdges(); i++)
{
  vtkCell * edge = face->GetEdge(i);
}

```

Can I be assured that the order of edges follows a proper polygon order, where the end of each edge is the start of the next edge, or is it possible that the order is random?
