Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1982
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: General function for regular convex polygons with arcs |
| Organization | Decebal Computing |
| References | <87ha1b6vzm.fsf@Equus.decebal.nl> <66e35f14-34ca-4bd6-88a4-dd572b1f9ccb@googlegroups.com> |
| Date | 2014-08-18 10:52 +0200 |
| Message-ID | <878umm6uy3.fsf@Equus.decebal.nl> (permalink) |
Op Sunday 17 Aug 2014 21:56 CEST schreef jdaw1: > Well, it depends on what you want to do. If you describe the > underlying motivation, that might help force the choice of > algorithm. Well I would like to have a function (arcedConvexPolygon) that takes (at least) number of sides and sideLength. It draws the figure in such a way that it fits in a rectangle with sides sideLength. With sides 3 it draws a triangle with inside arcs instead of straight lines. With sides 4 it draws a square with inside arcs instead of straight lines. (A better variant of my example.) Etcetera. Two interesting extensions could be: the centre point of the figure and the rotation. Default the first line is drawn at the base, but with rotation this could be changed. I do not ask for a complete function: I like to write it myself. (Is a good learning experience. In writing postscript and in writing graphical routines.) I need just some pointers to get me on my way. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
General function for regular convex polygons with arcs Cecil Westerhof <Cecil@decebal.nl> - 2014-08-17 16:17 +0200
Re: General function for regular convex polygons with arcs jdaw1 <jdawiseman@gmail.com> - 2014-08-17 12:56 -0700
Re: General function for regular convex polygons with arcs Cecil Westerhof <Cecil@decebal.nl> - 2014-08-18 10:52 +0200
Re: General function for regular convex polygons with arcs jdaw1 <jdawiseman@gmail.com> - 2014-08-18 10:49 -0700
Re: General function for regular convex polygons with arcs luser- -droog <mijoryx@yahoo.com> - 2014-08-18 22:52 -0700
Re: General function for regular convex polygons with arcs luser- -droog <mijoryx@yahoo.com> - 2014-08-18 23:05 -0700
csiph-web