comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: simplify a polyline?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: simplify a polyline? [message #39071] Mon, 26 April 2004 06:30 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Brad Gom wrote:

> I need a general purpose routine for reducing the complexity of a 2-d
> polyline. For example, the output of the contour function contains
> many redundant points, ie. many vertices may be removed as they fall
> on a straight or nearly straight line. Has anyone implemented a
> polyline simplification or decimation routine? I don't want to simply
> smooth the input data.
Hi,

I haven't tried this, but I believe that you can use MESH_DECIMATE using
your X, Y vertices coupled with a faked Z value. This is from the
online description of MESH_DECIMATE

> The MESH_DECIMATE function reduces the density of geometry
> while preserving as much of the original data as possible.

Ben
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: mpeg quality
Next Topic: Check marks on context sensitive menus

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:19:21 PDT 2025

Total time taken to generate the page: 0.80005 seconds