nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] How to use NLMISC::CPolygon::toConvexPolygons function


From: Raman Gupta
Subject: Re: [Nel] How to use NLMISC::CPolygon::toConvexPolygons function
Date: Fri, 12 Dec 2003 21:06:16 -0800 (PST)

Hi
 I have tried making last point != first point also but its not giving results.Input is --
0,8,0
0,0,0
12,0,0
12,8,0
8,8,0
8,4,0
4,4,0
4,8,0
Polygon is like --
_____          ________
|        |         |             |  (for input last point != first point)
|        |         |             |
|        |_____|             |
|                               |
|__________________|
 
 
Output is a list of 3 plygons--
4,4,0
4,8,0
0,8,0
0,0,0
 
12,8,0
8,8,0
8,4,0
 
12,0,0
12,8,0
8,4,0

The function -- Poly1.toConvexPolygons(convexPolygons,m1) is also returning  0(false).Please help.
 
Raman Gupta



Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
reply via email to

[Prev in Thread] Current Thread [Next in Thread]