coords.Coords.max_size#
- Coords.max_size()#
Return the maximum size of a
Coordsin any coordinate direction.Returns#
- float
The maximum length of any edge of the bounding box.
Notes#
This is a convenient shorthand for self.sizes().max().
See Also#
sizes(): return the length of the bounding box along global axesbounding_box(): return the bounding box
Examples#
>>> print(Coords([[0.,0.,0.],[3.,0.,0.],[0.,3.,0.]]).max_size()) 3.0