|
Re: QD (Quad-Double) Approach to Robustness: msg#00041gis.geos.devel
On Wed, Jun 14, 2006 at 11:40:00AM -0700, Martin Davis wrote: > > > In any case, I'm not sure that JTS uses FP equals for > > anything other > > > than checking whether two points are *exactly* the same. So this > > > should be portable, I assume. > > I think you're misreading what I said. I meant that JTS uses == (via > equals2D) to test whether the *value* of two coordinates is exactly the > same. Pointers don't enter into it. > > You absolutely should NOT try to replace those equality tests with > "approximately equals". Approx equals may have a place in some of the > algorithms, but this needs to be carefully evaluated on a case-by-case > basis. Ok, so back to original problem: do you obtain a successful result with JTS against the XML test I attached ? GEOS is successfull or not depending on wheter or not Coordinate copy constructor and/or assignment operator is inlined. --strk; |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: QD (Quad-Double) Approach to Robustness: 00041, Mateusz Loskot |
|---|---|
| Next by Date: | RE: QD (Quad-Double) Approach to Robustness: 00041, Martin Davis |
| Previous by Thread: | RE: QD (Quad-Double) Approach to Robustnessi: 00041, Martin Davis |
| Next by Thread: | Re: QD (Quad-Double) Approach to Robustness: 00041, Mateusz Loskot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |