Skip to content
Snippets Groups Projects
  1. Jul 03, 2012
  2. Jul 02, 2012
  3. Jun 30, 2012
  4. Jun 26, 2012
  5. Jun 25, 2012
  6. Jun 24, 2012
  7. Jun 23, 2012
  8. Jun 22, 2012
  9. Jun 14, 2012
  10. Jun 10, 2012
  11. Jun 05, 2012
  12. May 22, 2012
  13. May 10, 2012
  14. May 02, 2012
  15. Apr 30, 2012
  16. Apr 28, 2012
  17. Apr 27, 2012
  18. Apr 23, 2012
  19. Apr 11, 2012
  20. Apr 06, 2012
  21. Apr 02, 2012
  22. Apr 01, 2012
  23. Mar 30, 2012
    • Martin Nolte's avatar
      add user data to mappings · 3bea33a2
      Martin Nolte authored
      This patch allows the user to store additional data in the mapping.
      This user data is assumed to be independent of the topology and, hence, can
      be accessed through non-virtual methods (even when HybridMapping is used).
      
      In order to avoid storing the user data twice, the CachedMapping has been split
      into a new NonHybridMapping and the CachedMapping itself. The new user-visible
      class is NonHybridMapping. This should also clarify the semantics of the methods
      trace and clone, which no longer reside on the CachedMapping but on the
      NonHybridMapping.
      
      The impact of this patch on the user is relatively low. You will only notice it
      in two situations:
      a) Your GeometryTraits class (e.g., GlobalGeometryTraits) is not derived from
         DefaultGeometryTraits. In this case you have to add a type UserData (see
         DefaultGeometryTraits for an example).
      b) You are using the CachedMapping directly, i.e., you are not using one of
         the classes GenericGeometry::BasicGeometry, GenericGeometry::Geometry, or
         GenericGeometry::LocalGeomtry. In this case you simply replace CachedMapping
         by NonHybridMapping.
      
      [[Imported from SVN: r55]]
      3bea33a2
  24. Mar 29, 2012
Loading