An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.9% on proxy.golang.org

proxy.golang.org : github.com/trajectoryjp/closest_go

Package closest provides you calculating the closest points of two convex hulls. You get the distance or the depth between them in passing. The fundamental structure is Measure. An Measure contains two convex hulls, so you must set them at the first. Then, you can measure the distance or the depth between them by calling Measure.MeasureDistance or Measure.MeasureNonnegativeDistance with the closest points. You can reuse Measure any number of times. Measure stores the last direction from the first convex hull to the second convex hull, so it can calculate the closest points of the convex hulls faster than the first time.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/trajectoryjp/closest_go
License: MIT
Latest release: 5 months ago
First release: over 1 year ago
Namespace: github.com/trajectoryjp
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...