SbBox2s Structure |
Namespace: OIV.Inventor
The SbBox2s type exposes the following members.
Name | Description | |
---|---|---|
SbBox2s(SbVec2s, SbVec2s) |
Constructor for a 2D short box. min and
max are the corners of the diagonal that defines the box.
| |
SbBox2s(Int16, Int16, Int16, Int16) |
Constructor for a 2D short 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(SbBox2s) |
Extends this box (if necessary) to contain the specified box.
| |
ExtendBy(SbBox2s) |
Extends this box (if necessary) to contain the specified box.
| |
ExtendBy(SbVec2s) |
Extends this box (if necessary) to contain the specified point.
| |
ExtendBy(SbVec2s) |
Extends this box (if necessary) to contain the specified point.
| |
GetAspectRatio |
Computes the aspect ratio (ratio of width to height) of box.
| |
GetBounds(SbVec2s, SbVec2s) |
Gets the corners of the box.
| |
GetBounds(Int16, Int16, Int16, Int16) |
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(Int16, Int16) |
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(SbBox2s) |
Tests if the bb box intersects this box.
| |
Intersect(SbBox2s) |
Tests if the bb box intersects this box.
| |
Intersect(SbVec2s) |
Tests if the pt point intersects this box.
| |
Intersect(SbVec2s) |
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(SbVec2s, SbVec2s) |
Sets the corners of the box.
| |
SetBounds(SbVec2s, SbVec2s) |
Sets the corners of the box.
| |
SetBounds(Int16, Int16, Int16, Int16) |
Sets the corners of the box.
| |
ToString |
Converts this SbBox2s 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.
|