bezier-curve: Add Endpoint types.