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: lionel berenguier
Subject: Re: [Nel] How to use NLMISC::CPolygon::toConvexPolygons function
Date: Fri, 12 Dec 2003 12:09:46 +0100

Yes. As the method doc says:
 

* Convert a concave polygon into a list of convex polygons using a 2d projection.

* The polygon mustn't overlap itself in the XY plane of the basis passed in parameter.

* The polygon must be direct in the XY plane of the basis passed in parameter. (Counter clock wise)

 

Just give an identity matrix for "basis" and all should be fine

Lionel

----- Original Message -----
Sent: Friday, December 12, 2003 11:55 AM
Subject: Re: [Nel] How to use NLMISC::CPolygon::toConvexPolygons function

Hi
Can we correctly use NLMISC::CPolygon::toConvexPolygons function with 2D concave polygons,by making z-axis = 0 for every vertex,or is there any other way to convert a 2D concave polygon into a list of convex polygons.
 
Raman


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing


_______________________________________________
Nel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/nel-all

reply via email to

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