Box given by its min- and max- corners Generated from class MR.Box3i64. This is the by-value version of the struct.
More...
Inheritance diagram for MR.Box3i64:Public Member Functions | |
| Box3i64 (Box3i64 _other) | |
| Generated copy constructor. | |
| unsafe | Box3i64 () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Box3i64 (in MR.Vector3i64 min, in MR.Vector3i64 max) |
Generated from constructor MR.Box3i64.Box3i64. | |
| unsafe | Box3i64 (MR.Const_NoInit _1) |
Generated from constructor MR.Box3i64.Box3i64. | |
| unsafe ref MR.Vector3i64 | index (int e) |
Generated from method MR.Box3i64.operator[]. | |
| readonly unsafe bool | valid () |
true if the box contains at least one point Generated from method MR.Box3i64.valid. | |
| readonly unsafe MR.Vector3i64 | center () |
computes center of the box Generated from method MR.Box3i64.center. | |
| readonly unsafe MR.Vector3i64 | corner (in MR.Vector3b c) |
returns the corner of this box as specified by given bool-vector: 0 element in (c) means take min's coordinate, 1 element in (c) means take max's coordinate Generated from method MR.Box3i64.corner. | |
| readonly unsafe MR.Vector3i64 | size () |
computes size of the box in all dimensions Generated from method MR.Box3i64.size. | |
| readonly unsafe long | diagonal () |
computes length from min to max Generated from method MR.Box3i64.diagonal. | |
| readonly unsafe long | volume () |
computes the volume of this box Generated from method MR.Box3i64.volume. | |
| unsafe void | include (in MR.Vector3i64 pt) |
minimally increases the box to include given point Generated from method MR.Box3i64.include. | |
| unsafe void | include (in MR.Box3i64 b) |
minimally increases the box to include another box Generated from method MR.Box3i64.include. | |
| readonly unsafe bool | contains (in MR.Vector3i64 pt) |
checks whether given point is inside (including the surface) of this box Generated from method MR.Box3i64.contains. | |
| readonly unsafe bool | contains (in MR.Box3i64 otherbox) |
checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR.Box3i64.contains. | |
| readonly unsafe MR.Vector3i64 | getBoxClosestPointTo (in MR.Vector3i64 pt) |
returns closest point in the box to given point Generated from method MR.Box3i64.getBoxClosestPointTo. | |
| readonly unsafe bool | intersects (in MR.Box3i64 b) |
checks whether this box intersects or touches given box Generated from method MR.Box3i64.intersects. | |
| readonly unsafe MR.Box3i64 | intersection (in MR.Box3i64 b) |
computes intersection between this and other box Generated from method MR.Box3i64.intersection. | |
| unsafe ref MR.Box3i64 | intersect (in MR.Box3i64 b) |
Generated from method MR.Box3i64.intersect. | |
| readonly unsafe long | getDistanceSq (in MR.Box3i64 b) |
returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR.Box3i64.getDistanceSq. | |
| readonly unsafe long | getDistanceSq (in MR.Vector3i64 pt) |
returns squared distance between this box and given point; returns zero if the point is inside or on the boundary of the box Generated from method MR.Box3i64.getDistanceSq. | |
| readonly unsafe MR.Vector3i64 | getProjection (in MR.Vector3i64 pt) |
returns the closest point on the box to the given point for points outside the box this is equivalent to getBoxClosestPointTo Generated from method MR.Box3i64.getProjection. | |
| readonly unsafe MR.Box3i64 | expanded (in MR.Vector3i64 expansion) |
decreases min and increased max on given value Generated from method MR.Box3i64.expanded. | |
| readonly unsafe MR.Box3i64 | insignificantlyExpanded () |
decreases min and increases max to their closest representable value Generated from method MR.Box3i64.insignificantlyExpanded. | |
| bool | Equals (MR.Box3i64 a) |
| override bool | Equals (object? other) |
Static Public Member Functions | |
| static implicit | operator Box3i64 (ConstBox_Box3i64 other) |
| Copy contents from a wrapper class to this struct. | |
| static unsafe MR.Box3i64 | fromMinAndSize (in MR.Vector3i64 min, in MR.Vector3i64 size) |
Generated from method MR.Box3i64.fromMinAndSize. | |
| static unsafe MR.Vector3b | getMinBoxCorner (in MR.Vector3i64 n) |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is minimal Generated from method MR.Box3i64.getMinBoxCorner. | |
| static unsafe MR.Vector3b | getMaxBoxCorner (in MR.Vector3i64 n) |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is maximal Generated from method MR.Box3i64.getMaxBoxCorner. | |
| static unsafe bool | operator== (MR.Box3i64 _this, MR.Box3i64 a) |
Generated from method MR.Box3i64.operator==. | |
| static unsafe bool | operator!= (MR.Box3i64 _this, MR.Box3i64 a) |
Public Attributes | |
| MR.Vector3i64 | min |
| MR.Vector3i64 | max |
Properties | |
| readonly unsafe ref readonly MR.Vector3i64 | this[int e] [get] |
min/max access by 0/1 index Generated from method MR.Box3i64.operator[]. | |
Box given by its min- and max- corners Generated from class MR.Box3i64. This is the by-value version of the struct.