Skip to content

keyvariable/kvGeometry.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kvGeometry.swift

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.

Supported Platforms

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).

Getting Started

Package Dependencies:

.package(url: "https://github.com/keyvariable/kvGeometry.swift.git", from: "0.2.2")

Target Dependencies:

.product(name: "kvGeometry", package: "kvGeometry.swift")
.product(name: "kvCSG", package: "kvGeometry.swift")

Import:

import kvGeometry
import kvCSG

Authors

About

A collection of geometry auxiliaries on Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages