A cross-platform collection of geometry auxiliaries on Swift. For example:
- Basic shapes.
- Basic CSG (Constructive Solid Geometry).
- Numerical tolerance handling.
Handling of numerical tolerance helps to obtain more stable results. For example, in the kvCSG package, it helps to reduce the number of extra vertices and polygons in resulting geometry.
This package contains no platform-dependent code. Package is built and the unit-tests are passed on macOS, Linux (Ubuntu 22.04) and Windows (10 x64).
.package(url: "https://github.com/keyvariable/kvGeometry.swift.git", from: "0.2.2")
.product(name: "kvGeometry", package: "kvGeometry.swift")
.product(name: "kvCSG", package: "kvGeometry.swift")
import kvGeometry
import kvCSG
- Svyatoslav Popov (@sdpopov-keyvariable, sdpopov@gmail.com).