I imagine you can do a little maths on the 3 vertices, v0, v1 and v2: - v0v1 and v0v2 could be the plane's width and height. - mid v1v2 could be the center point of the plane. - And you could use the normal (normalized vector of v0v1 cross v0v2) to find the orientation of the plane.
On Tue, Feb 17, 2009 at 5:26 AM, Shengzhi <[email protected]> wrote: > > Hi guys, > > Suppose I have 3 points (Vertex) in 3D space, eg (0,0,0), (250, 200, > 100), (-100, 500, 90), and wanted to draw a plane through those. What > would be the simplest way? > > I noticed the Plane3D class, but read somewhere that was for internal > calculations and not suitable for drawing stuff? I considered just > using two triangles, but am wondering if there's a more elegant way. > > If it helps, I am trying to make a 3d geometry learning demo. > > Thank you! > > Regards, > > Shengzhi
