JuliaGeometry/Meshing.jl

varg passed incorrectly in GeometryTypes API

sjkelly opened this issue · 0 comments

via slack:

julia> GLNormalMesh(A,MarchingTetrahedra(1.0),origin=Point(Float32(0),Float32(0),Float32(0)),widths=Point(Float32(1),Float32(1),Float32(1)))      
ERROR: MethodError: no method matching isosurface(::Array{Float64,3}, ::MarchingTetrahedra{Float64}, ::Type{Point{3,Float32}}, ::Type{Face{3,OffsetInteger{-1,UInt32}}}, ::Pair{Symbol,Point{3,Float32}}, ::Pair{Symbol,Point{3,Float32}})
Closest candidates are:
  isosurface(::AbstractArray{T,3}, ::MarchingTetrahedra, ::Type{VertType}, ::Type{FaceType}; origin, widths) where {T, VertType, FaceType} at C:\Users\kd2cc\.julia\dev\Meshing\src\marching_tetrahedra.jl:138
  isosurface(::AbstractArray{T,3}, ::MarchingTetrahedra, ::Type{VertType}) where {T, VertType} at C:\Users\kd2cc\.julia\dev\Meshing\src\marching_tetrahedra.jl:138
  isosurface(::AbstractArray{T,3}, ::MarchingCubes, ::Type{VertType}, ::Type{FaceType}; origin, widths) where {T, VertType, FaceType} at C:\Users\kd2cc\.julia\dev\Meshing\src\marching_cubes.jl:14