Method ToObb
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
ToObb()
Gets this box as an oriented box aligned with the world axes.
public GeoObb3 ToObb()
Returns
Remarks
A box with a corner that is not a finite point gives the oriented box about its centre, which is not one either, of no size along an axis whose size is not a number: the box from (NaN, 30, -10) to (80, 70, 20) is the box about (NaN, 50, 5) 0 by 40 by 30, which meets nothing, where it threw for a box size of NaN.
Exceptions
- InvalidOperationException
Thrown when the box is empty.