Does GeometryBasics work with SVectors?

I tried to construct a rectangle from boundary points but it doesn’t seem to recognize SVectors.

What have you tried? This works:

using GeometryBasics
using StaticArrays

v1 = SA[1,2,3]
v2 = SA[5,5,5]

# One corner at v1, size v2
Rect3i(v1, v2)

# Corners at v1 and v2
Rect3i(v1, v2-v1)
1 Like