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

Simplify Transform Interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 1.0
    • None
    • None

    Description

      The current o.a.c.geometry.core.Transform interface should be simplified to only contain the apply(Point) method (possibly extending java.util.UnaryOperator<Point>. The Hyperplane and SubHyperplane interfaces should include transform(Transform) methods that apply the transform and return new instances. This will allow each Hyperplane and SubHyperplane implementation to transform itself in whatever method is best for that particular implementation and will make it much easier to create transforms.

       

      The AffineTransformMatrix?D and QuaternionRotation classes should also be modified to implement Transform.

      Attachments

        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: