---
title: "apply(_:to:)"
framework: vision
role: symbol
role_heading: Type Method
path: "vision/vnpoint/apply(_:to:)"
---

# apply(_:to:)

Creates a point object that’s shifted by the X and Y offsets of the specified vector.

## Declaration

```swift
class func apply(_ vector: VNVector, to point: VNPoint) -> VNPoint
```

## Parameters

- `vector`: The vector to apply to offset the point.
- `point`: The point to translate by the vector’s X and Y offsets.

## See Also

### Creating a Point

- [init(x:y:)](vision/vnpoint/init(x:y:).md)
- [init(location:)](vision/vnpoint/init(location:).md)
- [zero](vision/vnpoint/zero.md)
