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/12/28 13:39: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=17004485#comment-17004485 ] 

Matt Juntunen commented on GEOMETRY-80:
---------------------------------------

The term "affine" does not seem to apply to spherical space. From Wikipedia:
- "an affine transformation, ... is a function between affine spaces which preserves points, straight lines and planes"
- "an affine space is a geometric structure that generalizes some of the properties of Euclidean spaces"

So, the term "affine" does not seem to relate to non-Euclidean geometries. I'm wondering if there is another term that could be of use here.

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