# `GSLayer calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:ignoreComponents:`

*Instance Method*

Points where a line segment intersects the outlines of the layer.

## Declaration

```swift
func calculateIntersectionsStart(_ startPoint: NSPoint, end endPoint: NSPoint, decompose: Bool, ignoreLocked: Bool, clipToBound: Bool, ignoreComponents: Bool) -> FTPointArray
```

```objc
- (FTPointArray *) calculateIntersectionsStartPoint:(NSPoint) startPoint endPoint:(NSPoint) endPoint decompose:(BOOL) decompose ignoreLocked:(BOOL) ignoreLocked clipToBound:(BOOL) clipToBound ignoreComponents:(BOOL) ignoreComponents;
```

```python
calculateIntersectionsStartPoint_endPoint_decompose_ignoreLocked_clipToBound_ignoreComponents_(startPoint: NSPoint, endPoint: NSPoint, decompose: bool, ignoreLocked: bool, clipToBound: bool, ignoreComponents: bool) -> FTPointArray
```

## Parameters

- `startPoint` — The start of the line segment in layer coordinates.
- `endPoint` — The end of the line segment in layer coordinates.
- `decompose` — Whether to decompose components before calculating intersections.
- `ignoreLocked` — Whether to exclude locked and out-of-focus shapes.
- `clipToBound` — Whether to limit the inspected line segment to the layer bounds.
- `ignoreComponents` — Whether to exclude component shapes.

## Discussion

The returned point array includes `startPoint` and `endPoint`. `ignoreComponents` applies only when `decompose` is `NO`.

## See Also

### Intersections

- [`GSLayer calculateIntersectionsStartPoint:endPoint:`](/Core/GlyphsCore/GSLayer/calculateIntersectionsStartPoint:endPoint:) — Points where a line segment intersects the outlines of the layer.
- [`GSLayer calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:`](/Core/GlyphsCore/GSLayer/calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:) — Points where a line segment intersects the outlines of the layer.
- [`GSLayer intersections`](/Core/GlyphsCore/GSLayer/intersections) — Points where segments of the layer outlines intersect each other.

