Open
Description
Right now, the parametric type T
of GeometryBasics.Mesh
is restricted to Real
:
GeometryBasics.jl/src/basic_types.jl
Lines 503 to 505 in caa6c89
It used to be restricted to Number
initially, but this was changed in #219.
I see that it was first changed from Number
to Real
in b08b6f9, adding a TODO
to check if it should be Number
. The TODO
was then finally removed in a0a6a84.
Is there any reason why T
was restricted to Real
?
The reason I'm asking is because I am playing around with Unitful
and the current implementation does not allow for T
in Mesh
to be a Unitful.Quantity <: Number
, for example.
Metadata
Metadata
Assignees
Labels
No labels