|
|
unsafe | ConstBox_Box1d (Box1d 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.)
|
| |
|
virtual void | Dispose () |
| |
|
unsafe | ConstBox_Box1d (ConstBox_Box1d _other) |
| | Generated copy constructor.
|
| |
|
unsafe | ConstBox_Box1d () |
| | Constructs an empty (default-constructed) instance.
|
| |
|
unsafe | ConstBox_Box1d (double min, double max) |
| | Generated from constructor MR.Box1d.Box1d.
|
| |
|
unsafe | ConstBox_Box1d (MR.Const_NoInit _1) |
| | Generated from constructor MR.Box1d.Box1d.
|
| |
|
unsafe bool | valid () |
| | true if the box contains at least one point Generated from method MR.Box1d.valid.
|
| |
|
unsafe double | center () |
| | computes center of the box Generated from method MR.Box1d.center.
|
| |
|
unsafe double | 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.Box1d.corner.
|
| |
|
unsafe double | size () |
| | computes size of the box in all dimensions Generated from method MR.Box1d.size.
|
| |
|
unsafe double | diagonal () |
| | computes length from min to max Generated from method MR.Box1d.diagonal.
|
| |
|
unsafe double | volume () |
| | computes the volume of this box Generated from method MR.Box1d.volume.
|
| |
|
unsafe bool | contains (double pt) |
| | checks whether given point is inside (including the surface) of this box Generated from method MR.Box1d.contains.
|
| |
|
unsafe bool | contains (in MR.Box1d otherbox) |
| | checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR.Box1d.contains.
|
| |
|
unsafe double | getBoxClosestPointTo (double pt) |
| | returns closest point in the box to given point Generated from method MR.Box1d.getBoxClosestPointTo.
|
| |
|
unsafe bool | intersects (in MR.Box1d b) |
| | checks whether this box intersects or touches given box Generated from method MR.Box1d.intersects.
|
| |
|
unsafe MR.Box1d | intersection (in MR.Box1d b) |
| | computes intersection between this and other box Generated from method MR.Box1d.intersection.
|
| |
|
unsafe double | getDistanceSq (in MR.Box1d b) |
| | returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR.Box1d.getDistanceSq.
|
| |
|
unsafe double | getDistanceSq (double 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.Box1d.getDistanceSq.
|
| |
|
unsafe double | getProjection (double 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.Box1d.getProjection.
|
| |
|
unsafe MR.Box1d | expanded (double expansion) |
| | decreases min and increased max on given value Generated from method MR.Box1d.expanded.
|
| |
|
unsafe MR.Box1d | insignificantlyExpanded () |
| | decreases min and increases max to their closest representable value Generated from method MR.Box1d.insignificantlyExpanded.
|
| |
|
bool | Equals (MR.ConstBox_Box1d? a) |
| |
|
override bool | Equals (object? other) |
| |
|
|
static implicit | operator ConstBox_Box1d (Box1d other) |
| | Convert from a struct by copying it. Note that only ConstBox_Box1d has this conversion, Box_Box1d intentionally doesn't.
|
| |
|
static unsafe MR.Box1d | fromMinAndSize (double min, double size) |
| | Generated from method MR.Box1d.fromMinAndSize.
|
| |
|
static unsafe bool | getMinBoxCorner (double 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.Box1d.getMinBoxCorner.
|
| |
|
static unsafe bool | getMaxBoxCorner (double 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.Box1d.getMaxBoxCorner.
|
| |
|
static unsafe bool | operator== (MR.ConstBox_Box1d _this, MR.ConstBox_Box1d a) |
| | Generated from method MR.Box1d.operator==.
|
| |
|
static unsafe bool | operator!= (MR.ConstBox_Box1d _this, MR.ConstBox_Box1d a) |
| |
Box given by its min- and max- corners Generated from class MR.Box1d. This is the const reference to the struct.