[
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)