Box given by its min- and max- corners Generated from class MR.Box1f. Derived classes: Direct: (non-virtual) MR.SimpleVolumeMinMax MR.VdbVolume This is the non-const reference to the struct.
More...
Inheritance diagram for MR.Box_Box1f:Public Member Functions | |
| unsafe | Box_Box1f (Box1f 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 | Box_Box1f (ConstBox_Box1f _other) |
| Generated copy constructor. | |
| void | Assign (ConstBox_Box1f _other) |
| Generated copy assignment. | |
| unsafe | Box_Box1f () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Box_Box1f (float min, float max) |
Generated from constructor MR.Box1f.Box1f. | |
| unsafe | Box_Box1f (MR.Const_NoInit _1) |
Generated from constructor MR.Box1f.Box1f. | |
| unsafe void | include (float pt) |
minimally increases the box to include given point Generated from method MR.Box1f.include. | |
| unsafe void | include (in MR.Box1f b) |
minimally increases the box to include another box Generated from method MR.Box1f.include. | |
| unsafe ref MR.Box1f | intersect (in MR.Box1f b) |
Generated from method MR.Box1f.intersect. | |
Public Member Functions inherited from MR.ConstBox_Box1f | |
| virtual void | Dispose () |
| unsafe | ConstBox_Box1f (Box1f 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_Box1f (ConstBox_Box1f _other) |
| Generated copy constructor. | |
| unsafe | ConstBox_Box1f () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | ConstBox_Box1f (float min, float max) |
Generated from constructor MR.Box1f.Box1f. | |
| unsafe | ConstBox_Box1f (MR.Const_NoInit _1) |
Generated from constructor MR.Box1f.Box1f. | |
| unsafe bool | valid () |
true if the box contains at least one point Generated from method MR.Box1f.valid. | |
| unsafe float | center () |
computes center of the box Generated from method MR.Box1f.center. | |
| unsafe float | 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.Box1f.corner. | |
| unsafe float | size () |
computes size of the box in all dimensions Generated from method MR.Box1f.size. | |
| unsafe float | diagonal () |
computes length from min to max Generated from method MR.Box1f.diagonal. | |
| unsafe float | volume () |
computes the volume of this box Generated from method MR.Box1f.volume. | |
| unsafe bool | contains (float pt) |
checks whether given point is inside (including the surface) of this box Generated from method MR.Box1f.contains. | |
| unsafe bool | contains (in MR.Box1f otherbox) |
checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR.Box1f.contains. | |
| unsafe float | getBoxClosestPointTo (float pt) |
returns closest point in the box to given point Generated from method MR.Box1f.getBoxClosestPointTo. | |
| unsafe bool | intersects (in MR.Box1f b) |
checks whether this box intersects or touches given box Generated from method MR.Box1f.intersects. | |
| unsafe MR.Box1f | intersection (in MR.Box1f b) |
computes intersection between this and other box Generated from method MR.Box1f.intersection. | |
| unsafe float | getDistanceSq (in MR.Box1f b) |
returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR.Box1f.getDistanceSq. | |
| unsafe float | getDistanceSq (float 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.Box1f.getDistanceSq. | |
| unsafe float | getProjection (float 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.Box1f.getProjection. | |
| unsafe MR.Box1f | expanded (float expansion) |
decreases min and increased max on given value Generated from method MR.Box1f.expanded. | |
| unsafe MR.Box1f | insignificantlyExpanded () |
decreases min and increases max to their closest representable value Generated from method MR.Box1f.insignificantlyExpanded. | |
| bool | Equals (MR.ConstBox_Box1f? a) |
| override bool | Equals (object? other) |
Properties | |
| new ref float | min [get] |
| new ref float | max [get] |
| unsafe new ref float | this[int e] [get] |
Generated from method MR.Box1f.operator[]. | |
Properties inherited from MR.ConstBox_Box1f | |
| ref readonly float | min [get] |
| ref readonly float | max [get] |
| static unsafe int | Elements [get] |
| unsafe float | this[int e] [get] |
min/max access by 0/1 index Generated from method MR.Box1f.operator[]. | |
Additional Inherited Members | |
Static Public Member Functions inherited from MR.ConstBox_Box1f | |
| static implicit | operator ConstBox_Box1f (Box1f other) |
Convert from a struct by copying it. Note that only ConstBox_Box1f has this conversion, Box_Box1f intentionally doesn't. | |
| static unsafe MR.Box1f | fromMinAndSize (float min, float size) |
Generated from method MR.Box1f.fromMinAndSize. | |
| static unsafe bool | getMinBoxCorner (float 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.Box1f.getMinBoxCorner. | |
| static unsafe bool | getMaxBoxCorner (float 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.Box1f.getMaxBoxCorner. | |
| static unsafe bool | operator== (MR.ConstBox_Box1f _this, MR.ConstBox_Box1f a) |
Generated from method MR.Box1f.operator==. | |
| static unsafe bool | operator!= (MR.ConstBox_Box1f _this, MR.ConstBox_Box1f a) |
Protected Member Functions inherited from MR.ConstBox_Box1f | |
| virtual unsafe void | Dispose (bool disposing) |
Static Protected Attributes inherited from MR.ConstBox_Box1f | |
| static unsafe int * | __ref_storage_Elements |
Box given by its min- and max- corners Generated from class MR.Box1f. Derived classes: Direct: (non-virtual) MR.SimpleVolumeMinMax MR.VdbVolume This is the non-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.Box1f.Box1f.
|
inline |
Generated from constructor MR.Box1f.Box1f.
|
inline |
Generated copy assignment.
|
inline |
minimally increases the box to include given point Generated from method MR.Box1f.include.
|
inline |
minimally increases the box to include another box Generated from method MR.Box1f.include.
Generated from method MR.Box1f.intersect.
|
get |
|
get |
|
get |
Generated from method MR.Box1f.operator[].