# `GSPathSegment comparePoints:`

*Instance Method*

## Declaration

```swift
func comparePoints(_ otherObject: GSPathSegment) -> ComparisonResult
```

```objc
- (NSComparisonResult) comparePoints:(GSPathSegment *) otherObject;
```

```python
comparePoints_(otherObject: GSPathSegment) -> NSComparisonResult
```

