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/18 22:10:00 UTC
[jira] [Commented] (GEOMETRY-80) Rename Transform to
AffineTransform
[ https://issues.apache.org/jira/browse/GEOMETRY-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018723#comment-17018723 ]
Matt Juntunen commented on GEOMETRY-80:
---------------------------------------
PR is in: https://github.com/apache/commons-geometry/pull/58
This includes changes discussed on the ML.
> Rename Transform to AffineTransform
> -----------------------------------
>
> Key: GEOMETRY-80
> URL: https://issues.apache.org/jira/browse/GEOMETRY-80
> Project: Apache Commons Geometry
> Issue Type: Improvement
> Reporter: Matt Juntunen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The {{Transform}} interface is intended to represent affine transforms only. Perhaps, we should then rename this interface to {{AffineTransform}} to distinguish it from other transform types (such as projective transforms).
> Pros:
> - Clear, unambiguous name
> - Allows possible use of other transform types later on without naming conflicts
> Cons:
> - Name conflicts with {{java.awt.geom.AffineTransform}}
> - I'm not sure if the term "affine" can be used to describe this type of transform in spherical space. I've only ever seen it used in discussions involving Euclidean space.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)