I saw that there is delaunay tessalation as well in mayavi, which sparked my question.
I am using NEURON, a software package which now uses python. I have a number of neuron cells which I need to populate inside a volume. I have written a script which will randomly populate points within a cube which is larger than the volume of interest. All I need to know now is whether or not that point is within the volume described by triangular meshes. Thanks! -Tom On Aug 3, 2009, at 17:14, Gael Varoquaux <[email protected]> wrote: > On Mon, Aug 03, 2009 at 05:11:26PM -0400, Tom Foutz wrote: >> I've made a closed volume triangular mesh using: >> triangular_mesh >> (X,Y,Z,triangles,color=self.color,opacity=self.opacity) > >> And I have a point (x,y,z) > >> In matlab I have been able to use the delaunay tessellation >> method to >> determine whether or not the point is inside the triangle mesh. >> However, >> I have not found any way to do it in python. > >> Any ideas? > > What is your end goal? You can use Delaunay tessalation with Mayavi > too, > but the question is: what do you want to do afterward? > > Gaƫl ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
