# `GSCircleContainsRect`

*Function*

## Declaration

```swift
func GSCircleContainsRect(_ center: NSPoint, _ radius: CGFloat, _ rect: NSRect) -> Bool
```

```objc
BOOL GSCircleContainsRect(NSPoint center, CGFloat radius, NSRect rect);
```

```python
GSCircleContainsRect(center: NSPoint, radius: float, rect: NSRect) -> bool
```

## See Also

### Intersections

- [`GSIntersectCubicCubicPoints`](/Core/GlyphsCore/GSIntersectCubicCubicPoints)
- [`GSIntersectCubicCubicPointsA`](/Core/GlyphsCore/GSIntersectCubicCubicPointsA)
- [`GSIntersectCubicCubicUnlimited`](/Core/GlyphsCore/GSIntersectCubicCubicUnlimited)
- [`GSIntersectCubicCubicUnlimitedA`](/Core/GlyphsCore/GSIntersectCubicCubicUnlimitedA)
- [`GSIntersectCubicLine`](/Core/GlyphsCore/GSIntersectCubicLine) — Finds all intersections between a curve and a line.
- [`GSIntersectCubicLineA`](/Core/GlyphsCore/GSIntersectCubicLineA)
- [`GSIntersectCubicLineTimes`](/Core/GlyphsCore/GSIntersectCubicLineTimes)
- [`GSIntersectCubicLineUnlimited`](/Core/GlyphsCore/GSIntersectCubicLineUnlimited)
- [`GSIntersectCubicLineUnlimitedA`](/Core/GlyphsCore/GSIntersectCubicLineUnlimitedA)
- [`GSIntersectCubicLineUnlimitedTimes`](/Core/GlyphsCore/GSIntersectCubicLineUnlimitedTimes)
- [`GSIntersectQuadraticSplineLine`](/Core/GlyphsCore/GSIntersectQuadraticSplineLine)
- [`GSIntersectQuadraticSplineLineA`](/Core/GlyphsCore/GSIntersectQuadraticSplineLineA)
- [`GSIntersectQuadraticLineMatchEndA`](/Core/GlyphsCore/GSIntersectQuadraticLineMatchEndA)
- [`GSIntersectQuadraticLine`](/Core/GlyphsCore/GSIntersectQuadraticLine)
- [`GSIntersectQuadraticQuadraticSpline`](/Core/GlyphsCore/GSIntersectQuadraticQuadraticSpline)

