bugpyFormex - Bugs: bug #38775, PolyLine.approximate performs...

 
 

bug #38775: PolyLine.approximate performs unnecessary pre-approximation

Submitter:  Sofie Van Cauter <svcauter>
Submitted:  Fri 19 Apr 2013 08:14:59 AM UTC
   
 
Category:  Plugins Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Feb 2015 04:53:04 PM UTC, comment #2: 

approx and approximate are now the same

Benedict Verhegghe <bverheg>
Group administrator
Fri 19 Apr 2013 09:12:11 AM UTC, comment #1: 

Curve.approximate is still considered experimental and unfinished, and therefore no special version was created for the derived class PolyLine.

We have another approx method, and I would like to first decide if we keep approximate or approx, and whether we can merge the features of both. I would also like to add approximation by chordal distance. Another interesting feature would be forcing the original points to remain in the approximation.

I think this is a good time to come to a conclusion now about the interface, to merge approx and approximate, and to create a special version for PolyLine. We can discuss it here or via -email is unavailable-

Benedict Verhegghe <bverheg>
Group administrator
Fri 19 Apr 2013 08:14:59 AM UTC, original submission:  

The PolyLine class has a function approximate which is a copy of the Curve.approximate function. If a set of equidistantly spread points is required, a pre-approximation step is performed to convert the Curve to a PolyLine. However, this step seems to be unnecessary for PolyLine objects.

Sofie Van Cauter <svcauter>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bverheg (Posted a comment)
  • -email is unavailable- added by svcauter (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-24 bverheg StatusNone Fixed
        Assigned toNone bverheg
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code