SbBox2f Structure |
Namespace: OIV.Inventor
The SbBox2f type exposes the following members.
Name | Description | |
---|---|---|
SbBox2f(SbVec2f, SbVec2f) |
Constructor for a 2D float box. min and
max are the corners of the diagonal that defines the box.
| |
SbBox2f(Single, Single, Single, Single) |
Constructor for a 2D float box. xmin, ymin,
xmax and ymax are the bounds of the box.
|
Name | Description | |
---|---|---|
Contains |
Tests if the specified box is fully contained
inside this box.
| |
Equals |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
ExtendBy(SbBox2f) |
Extends this box (if necessary) to contain the specified box.
| |
ExtendBy(SbBox2f) |
Extends this box (if necessary) to contain the specified box.
| |
ExtendBy(SbVec2f) |
Extends this box (if necessary) to contain the specified point.
| |
ExtendBy(SbVec2f) |
Extends this box (if necessary) to contain the specified point.
| |
GetAspectRatio |
Computes the aspect ratio (ratio of width to height) of box.
| |
GetBounds(SbVec2f, SbVec2f) |
Gets the corners of the box.
| |
GetBounds(Single, Single, Single, Single) |
Gets the corners of the box.
| |
GetHashCode |
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.) | |
GetMax | Obsolete.
Use Max property instead.
| |
GetMin | Obsolete.
Use Min property instead.
| |
GetOrigin |
Gets box origin which is the same as the minimum corner of the box.
| |
GetSize | Obsolete.
Use Size property instead.
| |
GetSize(SbVec2f) |
Gets box size.
| |
GetSize(Single, Single) |
Gets box size.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasArea |
Tests if the box defines a surface (not degenerated).
| |
Intersect(SbBox2f) |
Tests if the bb box intersects this box.
| |
Intersect(SbBox2f) |
Tests if the bb box intersects this box.
| |
Intersect(SbVec2f) |
Tests if the pt point intersects this box.
| |
Intersect(SbVec2f) |
Tests if the pt point intersects this box.
| |
Intersection |
Gets the intersection of the specified box with this box.
| |
IsEmpty | Obsolete.
Use Empty property instead.
| |
MakeEmpty |
Makes this box empty.
| |
SetBounds(SbVec2f, SbVec2f) |
Sets the corners of the box.
| |
SetBounds(SbVec2f, SbVec2f) |
Sets the corners of the box.
| |
SetBounds(Single, Single, Single, Single) |
Sets the corners of the box.
| |
ToString |
Converts this SbBox2f structure to a human readable string.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
The equality operator.
| |
Inequality |
The inequality operator.
|
Name | Description | |
---|---|---|
Empty |
Gets a flag indicating if the box is empty (degenerate).
| |
Max |
Gets the maximum point of the box.
| |
Min |
Gets the minimum point of the box.
| |
Size |
Gets box size.
|