Subject: CGAL users discussion list
List archive
- From: kloffy <>
- To:
- Subject: [cgal-discuss] 1D Combinatorial Map - 1-Simplex
- Date: Sun, 26 Aug 2018 06:41:56 -0500 (CDT)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:+eVc2RwwHRGe6MrXCy+O+j09IxM/srCxBDY+r6Qd1e0fIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHmiCkJKT03/nzYhcNsg6xWuw6hqh5jz4LIfI2ZKORyc6XAdt0aX2pBWcNRWjRCAoO4aIsPAeQBPOZFpIT6pFsOqRy+BQeiBOLv0TJIiXr20rc70+QlCw3JwAsgH9cXvXnSsd77OqASUeWvw6nJyzXOd/VW1i3m54fTdhAuv+uAUq53ccrUz0QkCgDLjk2IpID4Oz6Y0v4BvmaY4uZ6Vu+iinQrpgBwrzWp28wikJPGhpgPxVDB7Sh5wJg6Jdm/SENjZ96pH4FctyeAOIRtWcwiR39ntDwmxb0BvJ63ZCkKyJI5yB7Dc/GLboyF7xb5WOufIjp0nnFodbOlixuz8EWs0uj8WdO10FZOoCpFiN7MtnUV2hzQ7siHTfV9/kmh2DuU2ADT7/tLIUEwlabBN5EhxbswmoIJsUvfBi/2hFn2jKiOe0o49ein8eDnbqz7qZ+dLI97lhz+Mr81msGkGuQ5Mg0OX3CB9uim1b3j+1f5QLRQgfEsnKnZqsOSGcNOraGwB0pZ050o9g2kJzagytUR23cdf3xffxfSjIzuNV/faKT7CfCxjUWEnzJixvSANbrkVMaeZkPfmavsKO4uo3VXzxA+mIgGtsBkT4oZKfe2YXff8dnRDxs3KQuxmr+1B9B014dYUmWKUPTAbPHi9GSQ7+dqGNGiIZcPsW+kefcg7v/qy3Q+nA1FJPT77d4scHm9W89eDQCZbH7r24pTFztMuAM0RujnzlaFVGwKag==
Hi,
I am trying to get my head around combinatorial maps, and I thought I would
start with the simplest non-trivial example, a 1-simplex (#0-cells=2,
#1-cells=1).
So, first I tried the obvious construction helper:
CGAL::Combinatorial_map<1> cm;
cm.make_edge();
cm.display_characteristics(std::cout);
std::cout << std::endl;
However, this gives me:
#Darts=2, #0-cells=2, #1-cells=2, #ccs=2
But that's not quite right (#1-cells=2).
So I tried creating the 1-simplex manually:
CGAL::Combinatorial_map<1> cm;
auto dh1 = cm.create_dart();
auto dh2 = cm.create_dart();
cm.dart_link_beta<0>(dh1, dh2);
cm.dart_link_beta<0>(dh2, dh1);
cm.display_characteristics(std::cout);
std::cout << std::endl;
However, this gives me:
#Darts=2, #0-cells=2, #1-cells=2, #ccs=1
But that's still not quite right (#1-cells=2).
I tried a bunch of other things, but I never managed to get the intended
result (#1-cells=1). My intuition for combinatorial maps is still very poor,
which was the motivation for this exercise. At this point, I feel like I
must be missing something. Please forgive me if it is something very
obvious. Still, I would appreciate any hints...
Cheers,
Peter
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] 1D Combinatorial Map - 1-Simplex, kloffy, 08/26/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Guillaume Damiand, 08/27/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Peter Klosowski, 08/27/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Peter Klosowski, 08/29/2018
- Re:[cgal-discuss] 1D Combinatorial Map - 1-Simplex, xlhu, 08/29/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Guillaume Damiand, 08/29/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Peter Klosowski, 08/31/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Peter Klosowski, 08/29/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Peter Klosowski, 08/27/2018
- Re: [cgal-discuss] 1D Combinatorial Map - 1-Simplex, Guillaume Damiand, 08/27/2018
Archive powered by MHonArc 2.6.18.