Path: news.mathworks.com!not-for-mail
From: "David Doria" <daviddoria@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: draw a plane with a point and normal
Date: Wed, 15 Oct 2008 22:25:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 35
Message-ID: <gd5qk0$q58$1@fred.mathworks.com>
Reply-To: "David Doria" <daviddoria@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1224109504 26792 172.30.248.35 (15 Oct 2008 22:25:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 15 Oct 2008 22:25:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1105197
Xref: news.mathworks.com comp.soft-sys.matlab:495474


I found the package geom3d on the file exchange. From what I gathered the usage is :

p=[1 1 1];
N = [1 2 3];
p = createPlane(p, N)
drawPlane3d(p)

However, I get this error:

>> drawPlane3d(p)
??? Error using ==> qhullmx
qhull input error: not enough points (1) to construct initial simplex (need 3)


While executing:  | qhull Qt

Options selected for Qhull 2003.1 2003/12/30:
  Qtriangulate  _pre-merge  _zero-centrum



Error in ==> convhulln at 71
[k,vv] = qhullmx(x', opt);

Error in ==> convhull at 42
    [k,v] = convhulln([x(:) y(:)]);

Error in ==> drawPlane3d at 84
ind = convhull(u1, u2);


Anyone know whats going on with this?

Thanks,
Dave