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 2020/01/03 16:43:00 UTC
[jira] [Updated] (GEOMETRY-24) Simplify Transform Interface
[ https://issues.apache.org/jira/browse/GEOMETRY-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Juntunen updated GEOMETRY-24:
----------------------------------
Fix Version/s: 1.0
> 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
> Fix For: 1.0
>
>
> 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)