# `GSNearestPointOnQuartic`

*Function*

## Declaration

```swift
func GSNearestPointOnQuartic(_ inPoint: NSPoint, _ p1: NSPoint, _ p2: NSPoint, _ p3: NSPoint, _ p4: NSPoint, _ p5: NSPoint, _ t: UnsafeMutablePointer<CGFloat>?) -> NSPoint
```

```objc
NSPoint GSNearestPointOnQuartic(NSPoint inPoint, NSPoint p1, NSPoint p2, NSPoint p3, NSPoint p4, NSPoint p5, CGFloat *t);
```

```python
GSNearestPointOnQuartic(inPoint: NSPoint, p1: NSPoint, p2: NSPoint, p3: NSPoint, p4: NSPoint, p5: NSPoint, t: float) -> NSPoint
```

## See Also

### Nearest Points and Distances

- [`GSNearestPointOnCubicSegmentBounds`](/Core/GlyphsCore/GSNearestPointOnCubicSegmentBounds)
- [`GSNearestPointOnCubicSegment`](/Core/GlyphsCore/GSNearestPointOnCubicSegment)
- [`GSNearestPointOnQuarticSegment`](/Core/GlyphsCore/GSNearestPointOnQuarticSegment)
- [`GSNearestPointOnQuadraticPoints`](/Core/GlyphsCore/GSNearestPointOnQuadraticPoints)
- [`GSDistanceOfPointFromCurve`](/Core/GlyphsCore/GSDistanceOfPointFromCurve)
- [`GSSquareDistanceOfPointFromCurveSegment`](/Core/GlyphsCore/GSSquareDistanceOfPointFromCurveSegment)
- [`GSDistanceOfPointFromLineSegment`](/Core/GlyphsCore/GSDistanceOfPointFromLineSegment)
- [`GSDistanceOfPointFromLine`](/Core/GlyphsCore/GSDistanceOfPointFromLine)
- [`GSNearestPointOnCubic`](/Core/GlyphsCore/GSNearestPointOnCubic)
- [`GSNearestPointOnQuadraticSpline`](/Core/GlyphsCore/GSNearestPointOnQuadraticSpline)
- [`GSNearestPointOnLinePoints`](/Core/GlyphsCore/GSNearestPointOnLinePoints)
- [`GSNearestPointOnLineUnlimited`](/Core/GlyphsCore/GSNearestPointOnLineUnlimited)
- [`GSDividCubicPointsAtDistance`](/Core/GlyphsCore/GSDividCubicPointsAtDistance)

