This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenlib
Howard Trickey 72d1ddfc9c Make it optional to track input->output mapping in delaunay_2d_calc.
Some uses of delaunay_2d_calc don't need to know the original verts,
edges, and faces that correspond to output elements.
This change adds a "need_ids" value to the CDT input spec, default true,
which tracks the input ids only when true.
The python api mathutils.geometry.delaunay_2d_cdt gets an optional
final bool argument that is the value of need_ids. If the argument
is not supplied, it is true by default, so this won't break old uses
of the API.

On a sample text test, not tracking ids save about 30% of the runtime.
For most inputs the difference will not be so dramatic: it only really
kicks in if there are a lot of holes.
2021-07-18 15:10:34 -04:00
..
2021-03-29 19:11:17 -06:00
2021-01-11 14:59:05 +01:00
2021-01-11 14:59:05 +01:00
2021-01-04 17:38:11 +11:00
2021-06-02 08:28:46 -04:00
2021-03-18 09:36:44 +11:00
2020-08-28 10:04:26 -06:00
2021-05-21 10:25:47 +05:30
2021-01-04 17:38:11 +11:00
2021-01-15 12:17:11 +11:00
2021-01-11 14:59:05 +01:00
2021-07-07 13:42:46 +10:00
2021-03-25 16:01:41 +01:00
2021-04-19 23:56:12 +10:00
2021-06-28 13:16:32 +02:00