#19217: Bugfix hyperbolic_arc and hyperbolic_polygon
-------------------------------------+-------------------------------------
       Reporter:  skraemer           |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  trivial            |    Milestone:  sage-6.9
      Component:  graphics           |   Resolution:
       Keywords:  hyperbolic_arc,    |    Merged in:
  hyperbolic_polygon                 |    Reviewers:  Vincent Delecroix
        Authors:  skraemer           |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  adec9d2014a81c41e98e49b2f172e1f343739196
  u/skraemer/bugfix_hyperbolic_arc_and_hyperbolic_polygon|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by skraemer):

 Hello,

 I guess, something went wrong with git. I am sorry for this. Please let me
 know, if it does not work.

 I had a new idea, how to handle this issue: Instead of checking, whether
 the points are above each other, one could check, how much the line
 connecting the points differ by the circle through the points. A simple
 test for this is to look at the quotient of the length of the connecting
 line and the radius of the circle. If this quotient is smaller than 0.1,
 we choose a line. The parameter .1 was chosen by experiment.

 In this version the reported bug does not appear and your examples work
 also.

 best regards,
 Stefan

--
Ticket URL: <http://trac.sagemath.org/ticket/19217#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to