# `GSNearestPointOnLineUnlimited`

*Function*

## Declaration

```swift
func GSNearestPointOnLineUnlimited(_ inPoint: NSPoint, _ a: NSPoint, _ b: NSPoint, _ t: UnsafeMutablePointer<CGFloat>?) -> NSPoint
```

```objc
NSPoint GSNearestPointOnLineUnlimited(NSPoint inPoint, NSPoint a, NSPoint b, CGFloat *t);
```

```python
GSNearestPointOnLineUnlimited(inPoint: NSPoint, a: NSPoint, b: NSPoint, t: float) -> NSPoint
```

## See Also

### Nearest Points and Distances

- [`GSNearestPointOnCubicSegmentBounds`](/Core/GlyphsCore/GSNearestPointOnCubicSegmentBounds)
- [`GSNearestPointOnCubicSegment`](/Core/GlyphsCore/GSNearestPointOnCubicSegment)
- [`GSNearestPointOnQuarticSegment`](/Core/GlyphsCore/GSNearestPointOnQuarticSegment)
- [`GSNearestPointOnQuartic`](/Core/GlyphsCore/GSNearestPointOnQuartic)
- [`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)
- [`GSDividCubicPointsAtDistance`](/Core/GlyphsCore/GSDividCubicPointsAtDistance)

