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

- [ ] `Axis2d.intersectionWithBoundingBox : BoundingBox2d -> Axis2d -> Maybe LineSegment2d` - [ ] `Axis2d.intersectionWithTriangle : Triangle2d -> Axis2d -> Maybe LineSegment2d` - [ ] `Axis3d.intersectionWithBoundingBox : BoundingBox3d -> Axis3d...

- Explain why it cannot return a signed angle - Suggest projecting both directions into a reference sketch plane and measuring angle in that plane Perhaps also/alternatively add a function...

Do a pass through the docs and point out where types/modules come from other packages; may also be worth adding a section to the README like "Relationship to other packages"...

- [ ] `LineSegment2d.signedDistanceAlong : Axis2d -> LineSegment2d -> Interval` - [ ] `LineSegment2d.signedDistanceFrom : Axis2d -> LineSegment2d -> Interval` - [ ] `LineSegment3d.signedDistanceAlong : Axis3d -> LineSegment3d -> Interval`...

help wanted
Hacktoberfest
good first issue

Several `elm-geometry` constructors use a similar naming pattern using `with` as part of the name, e.g.: ```elm Circle2d.withRadius : Quantity Float units -> Point2d units coordinates -> Circle2d units coordinates...

breaking change

[Capsule](https://en.wikipedia.org/wiki/Capsule_(geometry)) is a cylinder with hemispherical ends. This shape is useful in physics because of the ease of collisions. The module could be very similar to the existing `Cylinder3d`, maybe...

Especially if `elm-geometry` gains support for `Int`-valued geometry as part of #66, it would likely be useful to add dedicated functionality to convert back and forth between `Int` and `Float`-valued...

question

Currently, `rotateAround` functions are optimized for partial application - they cache computed sines/cosines etc. in a returned lambda, which is then just immediately called and discarded if `rotateAround` is called...

Hacktoberfest

I've found that I've needed this function a couple times. Writing the code in a one-off fashion looks like this ```elm ( w, h ) = BoundingBox2d.dimensions boundingBox aspectRatio =...

Hacktoberfest

It would be safest for functions like `Arc2d.centerPoint`, `Arc2d.radius` and corresponding functions in `Arc3d` (including 3D-specific ones like `Arc3d.normalAxis`) to return `Maybe` values when the arc swept angle is zero...

breaking change