# `GSDistanceOfPointFromLineN`

*Function*

## Declaration

```swift
func GSDistanceOfPointFromLineN(_ inPoint: GSNVector, _ a: GSNVector, _ b: GSNVector, _ n: Int32) -> CGFloat
```

```objc
CGFloat GSDistanceOfPointFromLineN(GSNVector inPoint, GSNVector a, GSNVector b, int n);
```

```python
GSDistanceOfPointFromLineN(inPoint: GSNVector, a: GSNVector, b: GSNVector, n: int) -> float
```

## See Also

### N-Dimensional Vectors

- [`GSMakeNVector`](/Core/GlyphsCore/GSMakeNVector)
- [`GSInitNVector`](/Core/GlyphsCore/GSInitNVector)
- [`GSMultiplyNVectors`](/Core/GlyphsCore/GSMultiplyNVectors)

