Re: How to ParametricPlot3D a plane given Normal and Distance
- To: mathgroup at smc.vnet.net
- Subject: [mg85017] Re: How to ParametricPlot3D a plane given Normal and Distance
- From: John Rivers <first10 at btinternet.com>
- Date: Thu, 24 Jan 2008 04:41:32 -0500 (EST)
- References: <fm22bj$94u$1@smc.vnet.net> <fmhq5j$bf6$1@smc.vnet.net>
This is another solution I found:
up = {0, 1, 0};
right = Normalize[Cross[up, {0, 0, 1}]];
forward = Normalize[Cross[up, right]];
ParametricPlot3D[forward * x + right * y, {x, -1, 1}, {y, -1, 1}]
( watch out when normal = {0, 0, 1} or {0, 0, -1} though )
Thanks again for your help
John