# `GSPathSegment isEqualToSegment:tolerance:`

*Instance Method*

## Declaration

```swift
func isEqual(to otherSegment: GSPathSegment, tolerance: CGFloat) -> Bool
```

```objc
- (BOOL) isEqualToSegment:(GSPathSegment *) otherSegment tolerance:(CGFloat) tolerance;
```

```python
isEqualToSegment_tolerance_(otherSegment: GSPathSegment, tolerance: float) -> bool
```

