Get endpoints in a slightly more efficient way
Get endpoints in a slightly more efficient way

Avoids any tuple allocation, since endpoints are held internally as a
tuple already so this should just compile down to a few field accesses
(also it's less code!)

opensolid/geometry