andygeers / Polyskel-Swift

Straight Skeleton algorithm, ported to Swift from the Polyskel Python library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polyskel

CI Status Version License Platform

This is a Swift port of the Python Polyskel project, to generate straight skeleton algorithm as described by Felkel and Obdržálek in their 1998 conference paper Straight skeleton implementation.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Roof mesh generated by the Example project

Features

The library can generate straight skeletons, but also roof models, including the gabled style according to R. G. Laycock and A. M. Day Automatically Generating Roof Models from Building Footprints

Installation

Polyskel is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Polyskel'

Author

andy@geero.net based upon the code by Yongha Hwang and Ármin Scipiades (Botffy).

License

Polyskel is available under the MIT license. See the LICENSE file for more info.

About

Straight Skeleton algorithm, ported to Swift from the Polyskel Python library

License:MIT License


Languages

Language:Swift 97.6%Language:Ruby 2.4%