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

 
 

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

Submitted by:  Sofie Van Cauter <svcauter>
Submitted on:  Fri 19 Apr 2013 08:14:59 AM UTC  
 
Category: PluginsSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

approx and approximate are now the same

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
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 -unavailable-

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Feb 2015 04:53:04 PM UTCbverhegStatusNone=>Fixed
      Assigned toNone=>bverheg
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1