From 18af73e461f9a943ae606fcc1401297f4afad20f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 29 Jul 2015 21:16:28 +1000 Subject: Add mathutils.bvhtree API Originally D966 by @lukastoenne, with own additions - trees can be initialized from Object's, BMesh, or passed in as vert+polygon arrays. - original indices of ngons/faces are used. (instead of tessellated indices). - ray_cast, find_nearest methods - find overlapping faces between 2 trees --- doc/python_api/sphinx_doc_gen.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 05ea0d0502d..4e1470681e0 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -263,6 +263,7 @@ else: "gpu", "mathutils", "mathutils.geometry", + "mathutils.bvhtree", "mathutils.kdtree", "mathutils.noise", "freestyle", @@ -1644,7 +1645,7 @@ def write_rst_contents(basepath): standalone_modules = ( # mathutils - "mathutils", "mathutils.geometry", "mathutils.kdtree", "mathutils.noise", + "mathutils", "mathutils.geometry", "mathutils.bvhtree", "mathutils.kdtree", "mathutils.noise", # misc "freestyle", "bgl", "blf", "gpu", "aud", "bpy_extras", # bmesh, submodules are in own page @@ -1796,6 +1797,7 @@ def write_rst_importable_modules(basepath): "bpy.props" : "Property Definitions", "mathutils" : "Math Types & Utilities", "mathutils.geometry" : "Geometry Utilities", + "mathutils.bvhtree" : "BVHTree Utilities", "mathutils.kdtree" : "KDTree Utilities", "mathutils.noise" : "Noise Utilities", "freestyle" : "Freestyle Module", -- cgit v1.2.3