To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10138
10137  |  10139
Subject: 
Re: Sorting by line
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 14 Feb 2005 22:49:09 GMT
Viewed: 
2828 times
  
In lugnet.cad.dev, Willy Tschager wrote:
In lugnet.cad.dev, Travis Cobbs wrote:
In lugnet.cad.dev, Orion Pobursky wrote:
I'm implementing sorting in LDDP.  Here's my question:

Say I'm sorting by position using Y.  When sorting linetypes 2-5 should I take
the maximum Y, the minimum Y, the Y value of center of the triangle/quad/line,
or something else entirely?

I would tend to lean toward the centroid, but perhaps it would be best to be
user configurable.

centroid was my first thought but leave it to the user would be better

Should this be a dialog that pops up when sorting in initiated, in the program
options, or something else?

The current method I'm using moves all type 0 lines to the top.  Should I simply
delete them instead?

Also, what about sort order?  Should I have 3 commands (Sort by X, Sort by Y,
Sort by Z) or something else?

-Orion



Message has 3 Replies:
  Re: Sorting by line
 
(...) That's what I did in the map I did but if you can make them "sticky" meaning that they stay by some other line in the file (the one that they precede?) that might be interesting. Might not be useful though. (...) Those are good, Also if you (...) (20 years ago, 14-Feb-05, to lugnet.cad.dev)
  Re: Sorting by line
 
(...) It's hard to say what would be best. I personally think that having a dialog with all the sort options along with a quick way to apply the most recently used sort options might be the most flexible. That way, people who use the feature (...) (20 years ago, 14-Feb-05, to lugnet.cad.dev)
  Re: Sorting by line
 
(...) IMO, it would be best with a dialog when sorting is requested. Remember all the settings from the last time sorting was used. (...) If there is no choice for the user, I'd say keep them at the top as you do now. A checkbox for removing them (...) (20 years ago, 15-Feb-05, to lugnet.cad.dev)

Message is in Reply To:
  Re: Sorting by line
 
(...) centroid was my first thought but leave it to the user would be better w. (20 years ago, 14-Feb-05, to lugnet.cad.dev)

8 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR