You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Juntunen (Jira)" <ji...@apache.org> on 2019/11/25 12:48:00 UTC

[jira] [Commented] (GEOMETRY-24) Simplify Transform Interface

    [ https://issues.apache.org/jira/browse/GEOMETRY-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981526#comment-16981526 ] 

Matt Juntunen commented on GEOMETRY-24:
---------------------------------------

Resolved with 77a2792463b091a37eea3859032793648a9b525d.

> Simplify Transform Interface
> ----------------------------
>
>                 Key: GEOMETRY-24
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-24
>             Project: Apache Commons Geometry
>          Issue Type: Improvement
>            Reporter: Matt Juntunen
>            Priority: Major
>
> 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}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)