# `GSLayer addExtremePoints`

*Instance Method*

Adds nodes at extrema of all path segments where needed.

## Declaration

```swift
func addExtremePoints()
```

```objc
- (void) addExtremePoints;
```

```python
addExtremePoints()
```

## See Also

### Adding Path Nodes

- [`GSLayer addExtremePointsForce:checkSelection:`](/Core/GlyphsCore/GSLayer/addExtremePointsForce:checkSelection:) — Adds nodes at extrema of path segments.
- [`GSLayer addInflectionPoints`](/Core/GlyphsCore/GSLayer/addInflectionPoints) — Adds nodes at inflection points of cubic segments.

