Point2D can use the methods in java.lang.Math internally

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • tbd
    • Affects Version/s: jfx11, 9, 10
    • Component/s: javafx

      javafx.geometry.Point2D can (and perhaps should considering speed and accuracy) use Math in several places:

      * `distance` could use Math.hypot (and `magnitude` is `distance(0,0)`)

      * `angle` could use Math.atan2

      com.sun.javafx.geom.Point2D is a similar case.

            Assignee:
            Nir Lisker
            Reporter:
            Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: