Click or drag to resize
SbBox2i32 Structure
2D box which has planes parallel to the major axes and is specified by two points (specified with 32 bits integers) on a diagonal.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 10.3.0.0.Release.e0557e69f65c2f4b712d9d57d8855c64671533f0
Syntax
public struct SbBox2i32

The SbBox2i32 type exposes the following members.

Constructors
  NameDescription
Public methodSbBox2i32(SbVec2i32, SbVec2i32)
Constructor for a 2D integer box. min and max are the corners of the diagonal that defines the box.
Public methodSbBox2i32(Int32, Int32, Int32, Int32)
Constructor for a 2D integer box. xmin, ymin, xmax and ymax are the bounds of the box.
Top
Methods
  NameDescription
Public methodContains
Tests if the specified box is fully contained inside this box.
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodExtendBy(SbBox2i32)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbBox2i32)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbVec2i32)
Extends this box (if necessary) to contain the specified point.
Public methodExtendBy(SbVec2i32)
Extends this box (if necessary) to contain the specified point.
Public methodGetAspectRatio
Computes the aspect ratio (ratio of width to height) of box.
Public methodGetBounds(SbVec2i32, SbVec2i32)
Gets the corners of the box.
Public methodGetBounds(Int32, Int32, Int32, Int32)
Gets the corners of the box.
Public methodGetHashCode
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetMax Obsolete.
Use Max property instead.
Public methodGetMin Obsolete.
Use Min property instead.
Public methodGetOrigin
Gets box origin which is the same as the minimum corner of the box.
Public methodGetSize Obsolete.
Use Size property instead.
Public methodGetSize(Int32, Int32)
Gets box size.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasArea
Tests if the box defines a surface (not degenerated).
Public methodIntersect(SbBox2i32)
Tests if the bb box intersects this box.
Public methodIntersect(SbBox2i32)
Tests if the bb box intersects this box.
Public methodIntersect(SbVec2i32)
Tests if the pt point intersects this box.
Public methodIntersect(SbVec2i32)
Tests if the pt point intersects this box.
Public methodIntersection
Gets the intersection of the specified box with this box.
Public methodIsEmpty Obsolete.
Use Empty property instead.
Public methodMakeEmpty
Makes this box empty.
Public methodSetBounds(SbVec2i32, SbVec2i32)
Sets the corners of the box.
Public methodSetBounds(SbVec2i32, SbVec2i32)
Sets the corners of the box.
Public methodSetBounds(Int32, Int32, Int32, Int32)
Sets the corners of the box.
Public methodToString
Converts this SbBox2i32 structure to a human readable string.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The equality operator.
Public operatorStatic memberInequality
The inequality operator.
Top
Fields
  NameDescription
Public fieldStatic memberEmptyBox
Represents an empty SbBox3s. This field is constant.
Top
Properties
  NameDescription
Public propertyEmpty
Gets a flag indicating if the box is empty (degenerate).
Public propertyMax
Gets the maximum point of the box.
Public propertyMin
Gets the minimum point of the box.
Public propertySize
Gets box size.
Top
Remarks
This class is part of the standard Open Inventor datatype classes and is used as input and output to geometry operations.
See Also