alphashapes2d can handle degenerate inputs (thanks to Taras Galkovskyi for the bug report and the fix)
#include <topology/chain.h>
#include "static-persistence.h"
#include "dynamic-persistence.h"
namespace dionysus {
namespace python {
typedef SPersistence::Chain VSPChain;
typedef DPersistenceChains::Chain VDPChain;
} } // namespace dionysus::python