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

Surface3D.project returns nulls when points are outside bounding box #4

Open
Jacoby6000 opened this issue Apr 17, 2015 · 1 comment

Comments

@Jacoby6000
Copy link

An exception or something should be thrown here... Otherwise everything that ever manages the lists of Point3D produced will have to do error checking on the nulls. Not throwing an error here also leads to confusing stack traces where you have to track down where the null point was generated, or just decide to code a case to ignore null points.

@Jacoby6000
Copy link
Author

If nulls are an expected and desired result, then perhaps we should use an optional type instead of a null value.

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

1 participant