CADability dotNET

The BoundingRect type exposes the following members.

Methods

  NameDescription
Public methodStatic memberDisjoint
Returns true if the two rectangles are disjoint (do not overlap)
Public methodGetCenter
Returns the center of the rectangle
Public methodGetLowerLeft
Returns the lower left point of the rectangle
Public methodGetLowerMiddle
Returns the center of the bottom line of the rectangle
Public methodGetLowerRight
Returns the lower right point of the rectangle
Public methodGetMiddleLeft
Returns the center of the left line of the rectangle
Public methodGetMiddleRight
Returns the center of the right line of the rectangle
Public methodGetPosition
Returns the position of the provided point with a given precision
Public methodGetUpperLeft
Returns the upper left point of the rectangle
Public methodGetUpperMiddle
Returns the center of the upper line of the rectangle
Public methodGetUpperRight
Returns the upper right point of the rectangle
Public methodInflate(Double)
Inflates the rectangle by the provided value which may also be negative
Public methodInflate(Double, Double)
Inflates the rectangle with different values in width an height
Public methodInterferes
Returns true, when this rectangle and the provided rect overlap
Public methodIsEmpty
Returns true, if this BoundingRect is empty.
Public methodMakeEmpty
Makes this BoundingRect an empty BoundingRect
Public methodMinMax(BoundingRect)
Adapts the size of this bounding rectangle to include the provided rectangle.
Public methodMinMax(GeoPoint2D)
Adapts the size of this bounding rectangle to include the provided point.
Public methodModify
Modifies the rectangle by the provided ModOp2D. The resulting rectangle contains the modified vertices of this rectangle
Public methodMove
Moves the rectangle by the provided offset
Public methodToBorder
Returns a Border that consists of the four lines of this ractangle.

Explicit Interface Implementations

See Also