To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 15822
15821  |  15823
Subject: 
Re: Colinear Vertices
Newsgroups: 
lugnet.cad
Date: 
Tue, 9 Dec 2008 16:56:33 GMT
Viewed: 
6692 times
  
In lugnet.cad, Philippe Hurbain wrote:
I am struggling to improve Intersector that sometimes creates quads with
_almost_ colinear vertices. An obvious solution is to split quads into two
triangles, but this increase size of generated file. Converted the quad into a
single triangle by suppressing the aligned vertex is not an option imho since it
leaves a teeny gap (this also creates to T-junctions that should be avoided).

Question is, is it really annoying? LDDP at normal setting complains at a
threshold of 0.0001 (but I don't now really what is measured). LDview sets a
warning only for completely aligned vertices.

Is there any benefit of avoiding almost degenerated quads?

Philo

As far as I can see the threshold is the number of digits that are used to
determine wheather a value is the same as the other.
So if you use 6.0 and 6.0001 with a threshold of 0.0001 the value are
interpreted to be the same. That makes sense if we use at maximum three digits.
LDView (3.2) has a threshold of 0.0000001, so 6 and 6.0000001 are interpreted to
be the same.

I hope this helps.

cu
mikeheide



Message has 2 Replies:
  Re: Colinear Vertices
 
(...) If they're on a curved surface, you'll get higher quality out of LDView half the time if you split them into triangles. (I say half the time, because OpenGL splits them into triangles in order to render them, and half the time they'll be split (...) (16 years ago, 9-Dec-08, to lugnet.cad)
  Re: Colinear Vertices
 
(...) I looked at LDDP sources (very clear BTW!). Threshold is compared against square of cross product of each angle of quad. So it depends of size of quad to 4th power! Not very good imho, but since it works for such a long time I used the same (...) (16 years ago, 11-Dec-08, to lugnet.cad)

Message is in Reply To:
  Colinear Vertices
 
I am struggling to improve Intersector that sometimes creates quads with _almost_ colinear vertices. An obvious solution is to split quads into two triangles, but this increase size of generated file. Converted the quad into a single triangle by (...) (16 years ago, 9-Dec-08, to lugnet.cad)

39 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