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

Missing imports #107

Open
NoahRJohnson opened this issue Nov 27, 2020 · 0 comments
Open

Missing imports #107

NoahRJohnson opened this issue Nov 27, 2020 · 0 comments
Labels
question Further information is requested

Comments

@NoahRJohnson
Copy link
Contributor

NoahRJohnson commented Nov 27, 2020

Some vxl core libraries interact with each other. This causes issues when importing only a single library. For example,
from vxl import vpgl
cam = vpgl.load_perspective_camera('/path/to/camera.txt')
print(cam.camera_center)
errors, because the camera_center property of a vpgl_perspective_camera is a vgl_point_3d.

How should we solve this? Make a list of all possible interactions, and then add the imports to each library's __init__ file?

@NoahRJohnson NoahRJohnson added the question Further information is requested label Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant