# `GSDividCubicPointsAtDistance`

*Function*

## Declaration

```swift
func GSDividCubicPointsAtDistance(_ p0: NSPoint, _ p1: NSPoint, _ p2: NSPoint, _ p3: NSPoint, _ q1: UnsafeMutablePointer<NSPoint>, _ q2: UnsafeMutablePointer<NSPoint>, _ q3: UnsafeMutablePointer<NSPoint>, _ r1: UnsafeMutablePointer<NSPoint>, _ r2: UnsafeMutablePointer<NSPoint>, _ offset: CGFloat, _ length: UnsafeMutablePointer<CGFloat>)
```

```objc
void GSDividCubicPointsAtDistance(NSPoint p0, NSPoint p1, NSPoint p2, NSPoint p3, NSPoint *q1, NSPoint *q2, NSPoint *q3, NSPoint *r1, NSPoint *r2, CGFloat offset, CGFloat *length);
```

```python
GSDividCubicPointsAtDistance(p0: NSPoint, p1: NSPoint, p2: NSPoint, p3: NSPoint, q1: NSPoint, q2: NSPoint, q3: NSPoint, r1: NSPoint, r2: NSPoint, offset: float, length: float)
```

## 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)
- [`GSNearestPointOnLineUnlimited`](/Core/GlyphsCore/GSNearestPointOnLineUnlimited)

