Page 1 of 1

Know if a point is inside a closed Polyline

Posted: 04 May 2007, 11:18
by fabzouni
Hi,

My question is :
Is it possible to know if a point is contained into a closed polyline (TsgDxgPolyline)?
In my case, I already know which polyline (TsgDxgPolyline) and the coordinates of the point that I need to test.

thanks in advance.

Fabzouni

Posted: 04 May 2007, 14:33
by support
Hello!

Polyline (TsgDXFPolyline) contains property Box, which defines bounding 3D rectangle. It is necessary to check whether point's coordinates are within this Box.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com