Public Methods
| Name | Description | |
|---|---|---|
|
Contains | (Overloaded) Determines if the rectangular region is entirely contained within this DRect structure. |
|
Equals | Determines whether this DRect instance and a specified object are equal. |
|
Expand | (Overloaded) Expands the DRect object up to the specified point. |
|
GetHashCode | Returns the hash code for this instance. |
|
GetRealBox | |
|
Inflate | Enlarges this DRect object by specified values. |
|
Intersect | (Overloaded) Checks DRect and CADMatrix objects for intersection. |
|
IsBadRect | (Overloaded) Checks if this DRect is not valid |
|
Norm | Normalizes this DRect object. |
|
Offset | Adds an offset at x, y and z axes to this DRect object. |
|
Rotate | Rotates the current DRect object in 2D coordinates system (Z coordinate does not changes) |
|
RotateAroundPoint | Rotates the current DRect object in 2D coordinates system (Z coordinate does not changes) |
|
TransRectCorners | Rotates this DRect object by a specified CADMatrix. |
|
Union | Expands a current DRect object to corner points of specified DRect object. |
|
UnitRect | Returns a new DRect with unit sizes. |
Operators
| Name | Description | |
|---|---|---|
|
Addition | Summarizes two DRect objects |
|
Equality | (Overloaded) Checks if two DRect objects are equal. |
|
Implicit Conversion (DRect to Rectangle) | Converts DRect to Rectangle |
|
Implicit Conversion (DRect to RectangleF) | Converts DRect to RectangleF |
|
Implicit Conversion (Rectangle to DRect) | Converts Rectangle to DRect |
|
Implicit Conversion (RectangleF to DRect) | Converts RectangleF to DRect |
|
Inequality | (Overloaded) Checks if two DRect objects are unequal. |
See Also