bool Manifold::isSameType(const Manifold& other) const { return this->getTypeId() == other.getTypeId(); }