Blender Git Loki

Git Commits -> Revision 18af73e

Revision 18af73e by Campbell Barton (master)
July 29, 2015, 11:24 (GMT)
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

Commit Details:

Full Hash: 18af73e461f9a943ae606fcc1401297f4afad20f
Parent Commit: ba32d9d
Lines Changed: +1241, -1

2 Added Paths:

/source/blender/python/mathutils/mathutils_bvhtree.c (+1193, -0) (View)
/source/blender/python/mathutils/mathutils_bvhtree.h (+36, -0) (View)

3 Modified Paths:

/doc/python_api/sphinx_doc_gen.py (+3, -1) (Diff)
/source/blender/python/mathutils/CMakeLists.txt (+3, -0) (Diff)
/source/blender/python/mathutils/mathutils.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021