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/21 13:37:00 UTC
[jira] [Closed] (GEOMETRY-80) Rename Transform to AffineTransform
[ https://issues.apache.org/jira/browse/GEOMETRY-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Juntunen closed GEOMETRY-80.
---------------------------------
> 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: 50m
> 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)