[Dune] [#848] add index method to GeometryType
Dune
flyspray at dune-project.org
Wed Dec 15 10:57:02 CET 2010
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#848 - add index method to GeometryType
User who did this - Christian Engwer (christi)
----------
I agree with Olivers comment. My proposal was to get rid of the different "geometry" identifications and to use oly GeometryType. In order to be able to represent all possible geoemtries, we had to use the topologyId as the internal representation instead of BasicType.
Nevertheless I think the index() method is a good idea, as it hids the implementation detail of the topologyId. Exporting the topologyId is necessary to implement certain algorithms, which are specifically designed to fit to this numbering, but it should not be the usual interface fro the user.
Like Carsten I think it would be good to add the "none" to the index list, although usually you wouldn't even want to store anything for the "none" type.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=848#comment2317
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list