Uploaded image for project: 'Commons Geometry'
  1. Commons Geometry
  2. GEOMETRY-46

Additional UnitVector methods

    XMLWordPrintableJSON

Details

    Description

      The following methods should be overridden in theĀ UnitVector private subclasses of the Vector?D classes:

      • normSq – should return 1 for consistency with norm
      • negate – should be overridden to also return a UnitVector instance instead of a regular Vector?D

      Attachments

        1. GEOMETRY-46.patch
          7 kB
          Gilles Sadowski

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mattjuntunen Matt Juntunen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m