git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] darkma773r opened a new pull request #2: GEOMETRY-2: Points and Vectors API Updates


darkma773r opened a new pull request #2: GEOMETRY-2: Points and Vectors API Updates
URL: https://github.com/apache/commons-geometry/pull/2
 
 
   The main driver behind these changes was to try to clean up the API as it relates to points and vectors. The interfaces did not allow enough information to be passed down to the concrete classes so they ended up having to perform a lot of casting to concrete types internally in order to do any work. The changes here remove that. I've also created separate Point and Vector types (as opposed to the combined Cartesian type) since that better reflects the math that we're trying to represent and the names are far more intuitive.
   
   You'll notice that there is no longer a Space class. That's because it had very little functionality and was mainly used as a generic type parameter to identify which space is being worked with. I've merged both of these functionalities into the Point types themselves. This makes sense because the definition of a Point, with its description of the Point's structure and supported operations, completely defines a space.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@xxxxxxxxxxxxxxxx


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-commons-developers/msg06349.html on line 93
Call Stack
#TimeMemoryFunctionLocation
10.0008364728{main}( ).../msg06349.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-commons-developers/msg06349.html on line 93
Call Stack
#TimeMemoryFunctionLocation
10.0008364728{main}( ).../msg06349.html:0