From: Rafael L. <rla...@us...> - 2003-12-18 10:46:41
|
* Pedro Tarrafeta <pt...@te...> [2003-12-18 11:05]: > This is what Qt is supposed to do. QJ also does it although using some other > method (joggling vertices until only simplicial facets are found). Anyway Qt > option is not working under octave. Is it just my case? I also noticed that Qt is not working and I have no clue about where the problem is. I will try to investigate further when I will have some time. > I think so. > In fact. Maybe we should use convhulln for matlab compatibility if this is an > issue. Some of the important info that I think should be accesible from > octave is stored in qh struct in qhull. What I mean is: > - A polyhedron is just an ordered list of facets. > - A facet should contain: > - id number > - normals and offset (hyperplane supporting the facet) > - area > - set of vertices (n if simplicial, >n if non-simplicial) > - set of neighbours (again n if simplicial...). Here's the need for the id. > - set of ridges. (?) > > I don't know how difficult this is but it looks like in the same > FORALLfacets{} loop the above can be retrieved and written to octave. This means a total redesign of the qhull functions and facilities for Octave, with the old API (delaunay, convhull, and voronoi) being wrappers to them. I would like to see this happening. Could someone make a complete design proposal? -- Rafael |