mroughan / geometry2d.jl Goto Github PK
View Code? Open in Web Editor NEW2D computational geometry package for Julia (programming language)
License: MIT License
2D computational geometry package for Julia (programming language)
License: MIT License
This package seems quite developed and potentially useful. Would you consider publishing it in METADATA.jl?
If you haven't seen it yet, I would also invite you to comment on the discussion happening at https://groups.google.com/forum/m/#!topic/julia-dev/vZpZ8NBX_z8.
Cheers!
While the package is able to load and run in the julia 0.4.0 release, it gives a large number of compatibility warnings, mostly related to these three syntax issues:
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
WARNING: deprecated syntax "> ("...
Use ">(" instead
WARNING: Union(args...) is deprecated, use Union{args...} instead
It would be great if these issues were fixed as the package might not be able to run in future versions of julia.
Not sure whether this is useful, but there are many errors when running things from this package.
$ julia test_ellipse.jl
INFO: Loading help data...
circle perimeter = 9.42477796076938 and elliptical perimeter is 9.424777960769381
line length = 2.0 and elliptical perimeter is 2.0000000024105304
ERROR: `.-` has no method matching .-(::Point{Float64}, ::Point{Float64})
in isconvex at /Users/me/.julia/v0.3/Geometry2D/src/polygon.jl:260
in Polygon at /Users/me/.julia/v0.3/Geometry2D/src/polygon.jl:71
in plot at /Users/me/.julia/v0.3/Geometry2D/src/plot.jl:19
in include at /Applications/Julia-0.3.2.app/Contents/Resources/julia/lib/julia/sys.dylib
in include_from_node1 at loading.jl:128
in process_options at /Applications/Julia-0.3.2.app/Contents/Resources/julia/lib/julia/sys.dylib
in _start at /Applications/Julia-0.3.2.app/Contents/Resources/julia/lib/julia/sys.dylib (repeats 2 times)
while loading /Users/me/.julia/v0.3/Geometry2D/test/test_ellipse.jl, in expression starting on line 38
etc. It looks like a really useful package, but I'm not sure whether it's been updated recently...?
I am working on some updates to this package. I was wondering if you could enable Travis-Ci for this repo so I can see if my commits break anything.
The link to enable travis is here: https://travis-ci.org/mroughan/Geometry2D.jl
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.