-
Notifications
You must be signed in to change notification settings - Fork 30
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
Minor: documentation on navis.Volume #105
Comments
Thanks for reporting Michael! A These summary tables only ever show a one-liner but in theory you should be able to click on e.g. You can always ask for the full docstring in an interactive Python session (terminal or Jupyter): >>> vol.bounds?
Type: property
String form: <property object at 0x13025ed10>
Docstring:
The axis aligned bounds of the faces of the mesh.
Returns
-----------
bounds : (2, 3) float or None
Bounding box with [min, max] coordinates
If mesh is empty will return None That docstring is not exactly what you had in mind but at least a bit better. I'll see if |
I spent a bit of time confirming the coordinates of a bounding box for a navis.Volume object. I think the documentation could be a bit more verbose, so others don't have to do the same.
Specifically here: https://navis.readthedocs.io/en/latest/source/tutorials/generated/navis.Volume.html#navis.Volume
All that is mentioned about the bounding box:
Attributes
bbox: Bounding box of this volume.
Something describing the structure would be nice. For example, the bbox array is:
The text was updated successfully, but these errors were encountered: