Click or drag to resize
SbBox2d Methods

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