|
|
| Box3i (Box3i _other) |
| | Generated copy constructor.
|
| |
|
unsafe | Box3i () |
| | Constructs an empty (default-constructed) instance.
|
| |
|
unsafe | Box3i (in MR.Vector3i min, in MR.Vector3i max) |
| | Generated from constructor MR.Box3i.Box3i.
|
| |
|
unsafe | Box3i (MR.Const_NoInit _1) |
| | Generated from constructor MR.Box3i.Box3i.
|
| |
|
unsafe ref MR.Vector3i | index (int e) |
| | Generated from method MR.Box3i.operator[].
|
| |
|
readonly unsafe bool | valid () |
| | true if the box contains at least one point Generated from method MR.Box3i.valid.
|
| |
|
readonly unsafe MR.Vector3i | center () |
| | computes center of the box Generated from method MR.Box3i.center.
|
| |
|
readonly unsafe MR.Vector3i | 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.Box3i.corner.
|
| |
|
readonly unsafe MR.Vector3i | size () |
| | computes size of the box in all dimensions Generated from method MR.Box3i.size.
|
| |
|
readonly unsafe int | diagonal () |
| | computes length from min to max Generated from method MR.Box3i.diagonal.
|
| |
|
readonly unsafe int | volume () |
| | computes the volume of this box Generated from method MR.Box3i.volume.
|
| |
|
unsafe void | include (in MR.Vector3i pt) |
| | minimally increases the box to include given point Generated from method MR.Box3i.include.
|
| |
|
unsafe void | include (in MR.Box3i b) |
| | minimally increases the box to include another box Generated from method MR.Box3i.include.
|
| |
|
readonly unsafe bool | contains (in MR.Vector3i pt) |
| | checks whether given point is inside (including the surface) of this box Generated from method MR.Box3i.contains.
|
| |
|
readonly unsafe bool | contains (in MR.Box3i otherbox) |
| | checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR.Box3i.contains.
|
| |
|
readonly unsafe MR.Vector3i | getBoxClosestPointTo (in MR.Vector3i pt) |
| | returns closest point in the box to given point Generated from method MR.Box3i.getBoxClosestPointTo.
|
| |
|
readonly unsafe bool | intersects (in MR.Box3i b) |
| | checks whether this box intersects or touches given box Generated from method MR.Box3i.intersects.
|
| |
|
readonly unsafe MR.Box3i | intersection (in MR.Box3i b) |
| | computes intersection between this and other box Generated from method MR.Box3i.intersection.
|
| |
|
unsafe ref MR.Box3i | intersect (in MR.Box3i b) |
| | Generated from method MR.Box3i.intersect.
|
| |
|
readonly unsafe int | getDistanceSq (in MR.Box3i b) |
| | returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR.Box3i.getDistanceSq.
|
| |
|
readonly unsafe int | getDistanceSq (in MR.Vector3i 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.Box3i.getDistanceSq.
|
| |
|
readonly unsafe MR.Vector3i | getProjection (in MR.Vector3i 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.Box3i.getProjection.
|
| |
|
readonly unsafe MR.Box3i | expanded (in MR.Vector3i expansion) |
| | decreases min and increased max on given value Generated from method MR.Box3i.expanded.
|
| |
|
readonly unsafe MR.Box3i | insignificantlyExpanded () |
| | decreases min and increases max to their closest representable value Generated from method MR.Box3i.insignificantlyExpanded.
|
| |
|
bool | Equals (MR.Box3i a) |
| |
|
override bool | Equals (object? other) |
| |
Box given by its min- and max- corners Generated from class MR.Box3i. This is the by-value version of the struct.