Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62910

Forum Post: RE: Get the points selected by mouse of the stretch for pathSeg

$
0
0
[quote userid="385185" url="~/cadence_technology_forums/f/custom-ic-skill/48910/get-the-points-selected-by-mouse-of-the-stretch-for-pathseg/1377236#1377236"] So can I use this approximation : (y1-y2)<0.0001 approximation if I have 2000DBUperUU? [/quote] Yes, that's reasonable. nearlyEqual is another possibility as Lawrence suggested, but you still really need to think about the right tolerances to use then. Note that the difference is not about decimal places, it's about significant digits. So you don't want to go for too small a tolerance because then you might hit the limit at the upper end, but practically you're not going to hit that since the maximum coordinate with 2000DBUPerUU is just over 1 metre. So either 0.0001 or 0.00001 would be fine. Andrew

Viewing all articles
Browse latest Browse all 62910

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>