[vtkusers] PoinInPolygon arguments

Bill Lorensen bill.lorensen at gmail.com
Tue Apr 6 11:33:41 EDT 2010


n is the normal to the face of the polygon
numPts is the number of points in the polygon
pts is an array of xyz points

On Tue, Apr 6, 2010 at 10:25 AM, Jothybasu K Selvaraj
<jothybasu at gmail.com> wrote:
> Hi everybody,
>
> Could someone please explain me what the arguments in PointInPolygon method
> of vtkPolygon is?
>
> The document does not clearly mentions this.
>
> doublex[3] should be the input point coordinate,
> double bounds[6] is the bounds of the polygon,
> rest???
>
> Here is the statement
>
> static int PointInPolygon  (double x[3], int numPts, double *pts, double
> bounds[6], double n[3])
>
> Thanks,
>
> Jothy
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list