We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4c7fa9 commit a127ea9Copy full SHA for a127ea9
src/geometrybasics_api.jl
@@ -5,7 +5,7 @@ function GB.Mesh(df::GT.SignedDistanceField{3,ST,FT},
5
6
h = df.bounds
7
vts, fcs = isosurface(df.data, method, pointtype, facetype, origin=pointtype(GB.origin(h)), widths=pointtype(GB.widths(h)))
8
- return GB.Mesh(GB.meta(vts), fcs)
+ return GB.Mesh(vts, fcs)
9
end
10
11
function GB.Mesh(f::Function,
@@ -17,7 +17,7 @@ function GB.Mesh(f::Function,
17
vts, fcs = isosurface(f, method, pointtype, facetype; samples=samples,
18
origin=pointtype(GB.origin(h)), widths=pointtype(GB.widths(h)))
19
20
21
22
23
function GB.Mesh(f::Function, h::GB.Rect, method::AbstractMeshingAlgorithm;
@@ -35,5 +35,5 @@ function GB.Mesh(volume::AbstractArray{T, 3},
35
kwargs...) where {T}
36
37
vts, fcs = isosurface(volume, method, pointtype, facetype; kwargs...)
38
39
test/runtests.jl
@@ -349,7 +349,7 @@ end
349
@testset "GeometryBasics API" begin
350
@testset "vararg passing" begin
351
A = rand(20,20,20)
352
- m = GB.mesh(A,MarchingTetrahedra(1.0),origin=Point(Float32(0),Float32(0),Float32(0)),widths=Point(Float32(1),Float32(1),Float32(1)))
+ m = GB.Mesh(A,MarchingTetrahedra(1.0),origin=Point(Float32(0),Float32(0),Float32(0)),widths=Point(Float32(1),Float32(1),Float32(1)))
353
@test m isa GB.Mesh
354
355
0 commit comments