[vtkusers] Plane generation from 4 points

Xiaopeng Yang yxp233 at postech.ac.kr
Tue Jul 19 11:08:49 EDT 2011


Hi all,

 

Is it possible to generate a curved vtkPlane from 4 points?

 

I know we can generate a flat plane from 3 points by the following code:

 

vtkPlane* BestPlane = vtkPlane::New();

BestPlane->SetNormal(v2[0], v2[1], v2[2]);

BestPlane->SetOrigin(Center[0], Center[1], Center[2]);

 

Thank you.

 

Best,

Xiaopeng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110720/26fc12c7/attachment.htm>


More information about the vtkusers mailing list