AIK is yet another one AI library for multi-platform Kotlin (primarily for JVM).
It is planned that this will include the pathfinding algorithms. Work on them will begin later :)
☐ Path finding for an open map
☐ Path finding for an partially open map
☐ Path finding for a limited range of movements
AIK Geometry is a 2D Euclidean geometry library.
Initially forked from Korma, I found their hierarchy quite inconvenient and decided to make it convenient for my goals.
All coordinates are stored as Double, so for geometric operations, the approximation with the Epsillon value is used.
For some operations, objects with integer points will be declared.
Planned geometric shapes and geometric operations
☐ - TODO, [T] - need testing, ☑ - done
I chose the geometric shapes that I used and the most popular in my opinion from the wiki list.
[T] Point. Also it is Vector1D
[T] Line
[T] Polyline
[T] Ray - half-open directed line segment
[T] LineSegment - closed line segment. Also it is Vector2D
[T] Rectangle
[T] Polygon (topics) - simple convex polygons
☐ Vertex
☐ Triangle Vertex - vertex with additional information about the triangle
[T] Circle
☐ Ring
☐ Ellipse
☐ Oval
☐ Rhombus
☐ Kite