---
title: "dot(_:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/vector3d/dot(_:)"
---

# dot(_:)

Returns the dot product of the vector and the specified vector.

## Declaration

```swift
func dot(_ other: Vector3D) -> Double
```

## Parameters

- `other`: The second vector.

## See Also

### Geometry functions

- [cross(_:)](spatial/vector3d/cross(_:).md)
- [length](spatial/vector3d/length.md)
- [lengthSquared](spatial/vector3d/lengthsquared.md)
- [normalize()](spatial/vector3d/normalize().md)
- [normalized](spatial/vector3d/normalized.md)
- [projected(_:)](spatial/vector3d/projected(_:).md)
- [reflected(_:)](spatial/vector3d/reflected(_:).md)
