front returns the first point in the contour.
()
| 427 | |
| 428 | // front returns the first point in the contour. |
| 429 | func (c *contour) front() point { return c.backward[len(c.backward)-1] } |
| 430 | |
| 431 | // back returns the last point in the contour |
| 432 | func (c *contour) back() point { return c.forward[len(c.forward)-1] } |