You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ffreyer I can use something like the below to find the indices of points part of a face not equal to some value (the indices of the other points, this is handy e.g. to find which points of a face do not touch a point of something else).
f =QuadFace{Int64}(1,2,3,4) # Some face
indicesOther = f[f.!=3]
For my project, when my compat features GeometryBasics = "0.3, 0.4", the use of f[f.!=3] returns:
3-element Vector{Int64}:124
This is the desired/expected behaviour, i.e. I can use the boolean f.!=3 to grab the indices that are not 3.
However, when my compat features GeometryBasics = "0.5", the use of f[f.!=3] returns:
So this is braking behaviour of course. Is this something you will be able to address or do I need to alter my code?
Separately I should add that in both instances above (both for early versions and the latest version of GeometryBasics) I find this behaviour odd, i.e. that f.!=3 returns a face containing Bools, that is never a valid/useful thing I'd say. So perhaps this should return some kind of vector of Bool entries instead? I'd say making that change would solve the above too.
f.!=34-element QuadFace{Bool} with indices SOneTo(4):1101
Let me know if you need any more information.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
@ffreyer I can use something like the below to find the indices of points part of a face not equal to some value (the indices of the other points, this is handy e.g. to find which points of a face do not touch a point of something else).
For my project, when my compat features
GeometryBasics = "0.3, 0.4"
, the use off[f.!=3]
returns:This is the desired/expected behaviour, i.e. I can use the boolean f.!=3 to grab the indices that are not 3.
However, when my compat features
GeometryBasics = "0.5"
, the use off[f.!=3]
returns:So this is braking behaviour of course. Is this something you will be able to address or do I need to alter my code?
Separately I should add that in both instances above (both for early versions and the latest version of GeometryBasics) I find this behaviour odd, i.e. that
f.!=3
returns a face containing Bools, that is never a valid/useful thing I'd say. So perhaps this should return some kind of vector of Bool entries instead? I'd say making that change would solve the above too.Let me know if you need any more information.
The text was updated successfully, but these errors were encountered: