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:49:00 UTC
[jira] [Closed] (GEOMETRY-24) Simplify Transform Interface
[ https://issues.apache.org/jira/browse/GEOMETRY-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Juntunen closed GEOMETRY-24.
---------------------------------
Resolution: Implemented
> 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)