JSPM

rle-sample

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q20515F
  • License BSD

Methods for sampling narrowband level sets

Package Exports

  • rle-sample

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rle-sample) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rle-sample

Methods for sampling narrowband level sets.

Usage

First, install the library using npm:

npm install rle-sample

Then, you can import the code as follows:

var sample = require("rle-sample");

Multiphase Samplers

sample.dense(lo, hi, phase_func, dist_func)

sample.marching(lo, hi, seeds, phase_func, dist_func)

sample.adaptive(lo, hi, step, phase_func, dist_func)

Signed Distance Samplers

sample.solid.dense(lo, hi, sdist_func)

sample.solid.marching(lo, hi, seeds, sdist_func)

sample.solid.adaptive(lo, hi, step, sdist_func)

Credits

(c) 2013 Mikola Lysenko. BSD