# `GSExtremePointsOfCubic`

*Function*

## Declaration

```swift
func GSExtremePointsOfCubic(_ p1: NSPoint, _ p2: NSPoint, _ p3: NSPoint, _ p4: NSPoint, _ r: UnsafeMutablePointer<NSPoint>, _ count: UnsafeMutablePointer<Int32>)
```

```objc
void GSExtremePointsOfCubic(NSPoint p1, NSPoint p2, NSPoint p3, NSPoint p4, NSPoint *r, int *count);
```

```python
GSExtremePointsOfCubic(p1: NSPoint, p2: NSPoint, p3: NSPoint, p4: NSPoint, r: NSPoint, count: int)
```

## See Also

### Lengths, Extrema, and Bounds

- [`GSLengthOfCubicPoints`](/Core/GlyphsCore/GSLengthOfCubicPoints)
- [`GSLengthOfQuadraticSpline`](/Core/GlyphsCore/GSLengthOfQuadraticSpline)
- [`GSTForDistanceCubic`](/Core/GlyphsCore/GSTForDistanceCubic)
- [`GSTForDistanceQuadraticSpline`](/Core/GlyphsCore/GSTForDistanceQuadraticSpline)
- [`GSExtremeTimesOfCubicUnlimited`](/Core/GlyphsCore/GSExtremeTimesOfCubicUnlimited)
- [`GSExtremeTimesOfCubic`](/Core/GlyphsCore/GSExtremeTimesOfCubic)
- [`GSExtremesOfCubic`](/Core/GlyphsCore/GSExtremesOfCubic)
- [`GSTangentPointsAtAngel`](/Core/GlyphsCore/GSTangentPointsAtAngel)
- [`GSBoundsOfQuadratic`](/Core/GlyphsCore/GSBoundsOfQuadratic)
- [`GSBoundsOfQuadraticSpline`](/Core/GlyphsCore/GSBoundsOfQuadraticSpline)
- [`GSBoundsOfCubic`](/Core/GlyphsCore/GSBoundsOfCubic)
- [`GSBoundingRectOfCubic`](/Core/GlyphsCore/GSBoundingRectOfCubic)
- [`GSBoundsOfQuartic`](/Core/GlyphsCore/GSBoundsOfQuartic)
- [`GSBoundingRectOfQuadratic`](/Core/GlyphsCore/GSBoundingRectOfQuadratic)
- [`GSBoundsOfTransformedRect`](/Core/GlyphsCore/GSBoundsOfTransformedRect)

