[vtkusers] How to generate a plane from three arbitrary points
David Doria
daviddoria at gmail.com
Fri Jul 8 12:33:09 EDT 2011
On Fri, Jul 8, 2011 at 12:29 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Hi,
>
>
>
> Is there any class or method to generate a vtk plane from three arbitrary
> points?
>
>
>
> Thanks,
>
> Xiaopeng
You could use the functions in vtkMath to perform this computation:
http://en.wikipedia.org/wiki/Plane_%28geometry%29#Method_3
and then set the "center" of the plane to be the centroid of those points.
David
More information about the vtkusers
mailing list