Box given by its min- and max- corners Generated from class MR.Box1i64. This is the const reference to the struct.
More...
Inheritance diagram for MR.ConstBox_Box1i64:Classes | |
| struct | _Underlying |
Public Member Functions | |
| virtual void | Dispose () |
| unsafe | ConstBox_Box1i64 (Box1i64 other) |
Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.) | |
| unsafe | ConstBox_Box1i64 (ConstBox_Box1i64 _other) |
| Generated copy constructor. | |
| unsafe | ConstBox_Box1i64 () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | ConstBox_Box1i64 (long min, long max) |
Generated from constructor MR.Box1i64.Box1i64. | |
| unsafe | ConstBox_Box1i64 (MR.Const_NoInit _1) |
Generated from constructor MR.Box1i64.Box1i64. | |
| unsafe bool | valid () |
true if the box contains at least one point Generated from method MR.Box1i64.valid. | |
| unsafe long | center () |
computes center of the box Generated from method MR.Box1i64.center. | |
| unsafe long | corner (bool 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.Box1i64.corner. | |
| unsafe long | size () |
computes size of the box in all dimensions Generated from method MR.Box1i64.size. | |
| unsafe long | diagonal () |
computes length from min to max Generated from method MR.Box1i64.diagonal. | |
| unsafe long | volume () |
computes the volume of this box Generated from method MR.Box1i64.volume. | |
| unsafe bool | contains (long pt) |
checks whether given point is inside (including the surface) of this box Generated from method MR.Box1i64.contains. | |
| unsafe bool | contains (in MR.Box1i64 otherbox) |
checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR.Box1i64.contains. | |
| unsafe long | getBoxClosestPointTo (long pt) |
returns closest point in the box to given point Generated from method MR.Box1i64.getBoxClosestPointTo. | |
| unsafe bool | intersects (in MR.Box1i64 b) |
checks whether this box intersects or touches given box Generated from method MR.Box1i64.intersects. | |
| unsafe MR.Box1i64 | intersection (in MR.Box1i64 b) |
computes intersection between this and other box Generated from method MR.Box1i64.intersection. | |
| unsafe long | getDistanceSq (in MR.Box1i64 b) |
returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR.Box1i64.getDistanceSq. | |
| unsafe long | getDistanceSq (long 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.Box1i64.getDistanceSq. | |
| unsafe long | getProjection (long 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.Box1i64.getProjection. | |
| unsafe MR.Box1i64 | expanded (long expansion) |
decreases min and increased max on given value Generated from method MR.Box1i64.expanded. | |
| unsafe MR.Box1i64 | insignificantlyExpanded () |
decreases min and increases max to their closest representable value Generated from method MR.Box1i64.insignificantlyExpanded. | |
| bool | Equals (MR.ConstBox_Box1i64? a) |
| override bool | Equals (object? other) |
Static Public Member Functions | |
| static implicit | operator ConstBox_Box1i64 (Box1i64 other) |
Convert from a struct by copying it. Note that only ConstBox_Box1i64 has this conversion, Box_Box1i64 intentionally doesn't. | |
| static unsafe MR.Box1i64 | fromMinAndSize (long min, long size) |
Generated from method MR.Box1i64.fromMinAndSize. | |
| static unsafe bool | getMinBoxCorner (long 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.Box1i64.getMinBoxCorner. | |
| static unsafe bool | getMaxBoxCorner (long 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.Box1i64.getMaxBoxCorner. | |
| static unsafe bool | operator== (MR.ConstBox_Box1i64 _this, MR.ConstBox_Box1i64 a) |
Generated from method MR.Box1i64.operator==. | |
| static unsafe bool | operator!= (MR.ConstBox_Box1i64 _this, MR.ConstBox_Box1i64 a) |
Protected Member Functions | |
| virtual unsafe void | Dispose (bool disposing) |
Static Protected Attributes | |
| static unsafe int * | __ref_storage_Elements |
Properties | |
| ref readonly long | min [get] |
| ref readonly long | max [get] |
| static unsafe int | Elements [get] |
| unsafe long | this[int e] [get] |
min/max access by 0/1 index Generated from method MR.Box1i64.operator[]. | |
Box given by its min- and max- corners Generated from class MR.Box1i64. This is the const reference to the struct.
|
inline |
Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
|
inline |
Generated copy constructor.
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
Generated from constructor MR.Box1i64.Box1i64.
|
inline |
Generated from constructor MR.Box1i64.Box1i64.
|
inline |
computes center of the box Generated from method MR.Box1i64.center.
|
inline |
checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR.Box1i64.contains.
|
inline |
checks whether given point is inside (including the surface) of this box Generated from method MR.Box1i64.contains.
|
inline |
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.Box1i64.corner.
|
inline |
computes length from min to max Generated from method MR.Box1i64.diagonal.
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inline |
decreases min and increased max on given value Generated from method MR.Box1i64.expanded.
|
inlinestatic |
Generated from method MR.Box1i64.fromMinAndSize.
|
inline |
returns closest point in the box to given point Generated from method MR.Box1i64.getBoxClosestPointTo.
|
inline |
returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR.Box1i64.getDistanceSq.
|
inline |
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.Box1i64.getDistanceSq.
|
inlinestatic |
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.Box1i64.getMaxBoxCorner.
|
inlinestatic |
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.Box1i64.getMinBoxCorner.
|
inline |
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.Box1i64.getProjection.
|
inline |
decreases min and increases max to their closest representable value Generated from method MR.Box1i64.insignificantlyExpanded.
|
inline |
computes intersection between this and other box Generated from method MR.Box1i64.intersection.
|
inline |
checks whether this box intersects or touches given box Generated from method MR.Box1i64.intersects.
|
inlinestatic |
Convert from a struct by copying it. Note that only ConstBox_Box1i64 has this conversion, Box_Box1i64 intentionally doesn't.
|
inlinestatic |
|
inlinestatic |
Generated from method MR.Box1i64.operator==.
|
inline |
computes size of the box in all dimensions Generated from method MR.Box1i64.size.
|
inline |
true if the box contains at least one point Generated from method MR.Box1i64.valid.
|
inline |
computes the volume of this box Generated from method MR.Box1i64.volume.
|
staticprotected |
|
staticget |
|
get |
|
get |
|
get |
min/max access by 0/1 index Generated from method MR.Box1i64.operator[].