Re: [osg-users] Parameter "ratio" in osgUtil::LineSegmentIntersector::Intersection

2008-09-30 Thread Andreas Goebel
Paul Melis schrieb: Andreas Goebel wrote: What is that ratio-parameter expressing? May I assume that points which are very close to each other do have a ratio that is very close? I guess that the other direction is not true: Points with a close ratio might be apart. My impression so far has b

Re: [osg-users] Parameter "ratio" in osgUtil::LineSegmentIntersector::Intersection

2008-09-30 Thread Paul Melis
Andreas Goebel wrote: Hello, I need to sort out intersections that are very close to each other. So I took a look at the LineSegmentIntersector::Intersection definition: bool operator < (const Intersection& rhs) const { return ratio < rhs.ratio; } typedef std::vector

[osg-users] Parameter "ratio" in osgUtil::LineSegmentIntersector::Intersection

2008-09-30 Thread Andreas Goebel
Hello, I need to sort out intersections that are very close to each other. So I took a look at the LineSegmentIntersector::Intersection definition: bool operator < (const Intersection& rhs) const { return ratio < rhs.ratio; } typedef std::vector IndexList;