Swiftpack.co - xmjw/Spherical-Geometry-Swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by xmjw.
xmjw/Spherical-Geometry-Swift v1.0
Spherical Geometry mathematics in Swift for moving and measuring things on spheres.
⭐️ 3
🕓 4 years ago
iOS
.package(url: "https://github.com/xmjw/Spherical-Geometry-Swift.git", from: "v1.0")

Spherical Geometry Swift

Library for moving things around on a sphere. There are three important classes here:

  • Calculator - This is a calculator for common movement and distance calculations
  • SphericalPosition - This is an object for representing a position on a sphere
  • CartesianRelator - This is an object for mapping spherical position back to x,y,z coordinates.

Some References:

GitHub

link
Stars: 3
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Initial Release
4 years ago

This is the first broadly working version that allows you to place a item on a 3 dimensional sphere, move it around, and manage it back into cartesian coordinates.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics