Skip to content

FaceView docstring example does not work #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jw3126 opened this issue Aug 23, 2020 · 2 comments
Closed

FaceView docstring example does not work #81

jw3126 opened this issue Aug 23, 2020 · 2 comments

Comments

@jw3126
Copy link
Contributor

jw3126 commented Aug 23, 2020

julia> using GeometryBasics

julia> FaceView(rand(Point3f0, 10), TriangleFace[(1, 2, 3), (2, 4, 5)])
ERROR: MethodError: no method matching FaceView(::Array{Point{3,Float32},1}, ::Array{NgonFace{3,T} where T,1})

Is this an error in the docstring or a bug? Also whats the recommended way to construct this view?

@jw3126
Copy link
Contributor Author

jw3126 commented Aug 23, 2020

julia> connect(rand(Point3f0, 10), TriangleFace{Int}[(1, 2, 3), (2, 4, 5)])

is a possibility to do this.

@ffreyer
Copy link
Collaborator

ffreyer commented Feb 11, 2025

Closing this because FaceView is now a different object (and also that works now)

@ffreyer ffreyer closed this as completed Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants