Skip to content
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

vcgGetEdge and vcgBorder outputs are invisible #39

Open
stla opened this issue Feb 27, 2023 · 2 comments
Open

vcgGetEdge and vcgBorder outputs are invisible #39

stla opened this issue Feb 27, 2023 · 2 comments

Comments

@stla
Copy link

stla commented Feb 27, 2023

Hello,

The two functions mentionned in the title invisibly return their output. Is there a reason for that? I find this is a bit annoying.

@zarquon42b
Copy link
Owner

zarquon42b commented Feb 27, 2023

Hi, this is because they return large vectors/matrices and if you accidentally call the function without assigning the output you get printed a couple of 100.000 items. Why would you directly want to print that in your console? What usecase are you envisioning?
If you want to do this intentionally, you can still do:

edges <- vcgGetEdge(x)
edges

@stla
Copy link
Author

stla commented Feb 27, 2023

Ok. Sometimes I use these functions interactively on a small mesh. I can do as you say or use print.

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