Click or drag to resize
SbBox2s Methods

The SbBox2s type exposes the following members.

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(SbBox2s)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbBox2s)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbVec2s)
Extends this box (if necessary) to contain the specified point.
Public methodExtendBy(SbVec2s)
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(SbVec2s, SbVec2s)
Gets the corners of the box.
Public methodGetBounds(Int16, Int16, Int16, Int16)
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(Int16, Int16)
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(SbBox2s)
Tests if the bb box intersects this box.
Public methodIntersect(SbBox2s)
Tests if the bb box intersects this box.
Public methodIntersect(SbVec2s)
Tests if the pt point intersects this box.
Public methodIntersect(SbVec2s)
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(SbVec2s, SbVec2s)
Sets the corners of the box.
Public methodSetBounds(SbVec2s, SbVec2s)
Sets the corners of the box.
Public methodSetBounds(Int16, Int16, Int16, Int16)
Sets the corners of the box.
Public methodToString
Converts this SbBox2s structure to a human readable string.
(Overrides ValueTypeToString.)
Top
See Also