Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

231 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

SignedDistanceFunction.jl

CI Coverage Coverage

SignedDistanceFunction.jl is a package to compute signed distance function.

Main features are:

  • Creating a signed distance to compute the signed distance function of the jordan closed curve data set(2D).
  • Creating a signed distance to compute the signed distance function of the multiple closed curve data set(2D).

Usage

The closed curve data must be .csv file. N is an Int, representing the number of subdomain divisions, and returns the SignedDistanceFunction(SDF) of NxN.

signedDistance2D("XXXXXX.csv", N)

signedDistance2D("XXXXXX.csv", N, "multi")

Contribution

Setup

macOS

$ julia>
$ Pkg(1.5)> add PackageCompiler
$ Pkg(1.5)> add DelimitedFiles
$ Pkg(1.5)> add TimerOutputs
$ Pkg(1.5)> add Test
$ Pkg(1.5)> add Plots
$ julia> using PackageCompiler
$ julia> PackageCompiler.create_sysimage([:CSV, :DataFrames, :Plots, :Luxor, :BenchmarkTools, :TimerOutputs, :Test]; sysimage_path="Sysimage.so")
$ Pkg(1.5)> activate .
$ (SignedDistanceFunction)>
$ julia> using SignedDistanceFunction
$ julia> signedDistance2D("xxxxxx.csv", N)
$ echo "Sysimage.so" >> .gitignore

Debug in REPL

$julia>

enter the Pkg mode(])

$ pkg>

$ pkg> activate .

(SignedDistanceFunction) pkg>

return the REPL(Delete/Backspace)

julia>

julia> using SignedDistanceFunction

julia> signedDistance2D("XXXXXX.csv", N)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /