elm-geometry icon indicating copy to clipboard operation
elm-geometry copied to clipboard

2D/3D geometry package for Elm

Results 52 elm-geometry issues
Sort by recently updated
recently updated
newest added

Currently there are several constructor/factory functions such as `Arc2d.withRadius` that return `Maybe` values if construction fails (invalid arguments given, no solution found, etc.). Ideally many of these should be switched...

breaking change

As suggested by @gampleman in https://github.com/ianmackenzie/elm-geometry/pull/58#discussion_r214648856 - could be convenient for rendering, but right now I don't see an easy way to do it other than post-processing the result of...

low priority

Allow customization of how interiors of polygons are triangulated, for example ensuring that no triangle is larger than a certain value. This will be important for meshing curved surfaces, where...

low priority

Currently (well, once #58 is merged), Delaunay triangulations can have vertices *added* but not *removed*. It should be possible to adapt an algorithm such as https://hal.inria.fr/inria-00167201/document to provide removal functionality...

low priority

Computing self intersection for a polygon or a polyline is not obvious, even if an intersection function for line segments is provided. I recently had to do this so I...

Would be nice and useful to have Export to [WebGL](https://github.com/elm-community/webgl) [Meshes](http://package.elm-lang.org/packages/elm-community/webgl/latest/WebGL#Mesh) :)

`type Torus3d = Torus3d { axis : Axis3d, majorRadius : Float, minorRadius : Float }`

- [ ] `Axis2d.intersectionPoint : Axis2d -> Axis2d -> Maybe Point2d` - [ ] `Plane3d.intersectionAxis : Plane3d -> Plane3d -> Maybe Axis3d` - [x] `LineSegment2d.intersectionPoint : LineSegment2d -> LineSegment2d ->...

All images and interactive examples from `opensolid.github.io` should be moved to `ianmackenzie.github.io/elm-geometry`. As suggested in opensolid/opensolid.github.io#1, this move should probably also involve figuring out a structure that allows for a...

I started converting a bunch of the examples shown in the documentation to tests; for example see commits 8025fe78ba15395cd07a0a410c0240c8e2e11282 and be3dbb11f58d2d79fe702aa40bc033163f25537c. It would be great if someone could help converting...

help wanted
Hacktoberfest
good first issue
tests