RectangleD Structure
Structure for rectangle with double values.
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 16
Public Structure RectangleD
public value class RectangleD
[<SealedAttribute>]
type RectangleD =
struct
inherit ValueType
end
- Inheritance
- Object ValueType RectangleD
| Bottom |
Bottom value of the rectangle (Y+Height).
|
| Height |
Height of the rectangle.
|
| IsEmpty |
Width and Height are 0?
|
| Left |
Left value of rectangle (X).
|
| LeftBot |
Corner left bottom of the rectangle (X, Y+Height).
|
| LeftTop |
Corner left top value of the rectangle (X,Y)
|
| Location |
Location of the rectangle.
|
| MaxX |
Right value of the rectangle (X+widht).
|
| MaxXMaxY |
Corner right bottom of rectangle (X+Widht, Y+Height).
|
| MaxXMinY |
Corner right top of rectangle (X+Widht, Y).
|
| MinX |
Left value of rectangle (X).
|
| MinXMaxY |
Corner left bottom of the rectangle (X, Y+Height).
|
| MinXMinY |
Corner left top value of the rectangle (X,Y)
|
| Right |
Right value of the rectangle (X+widht).
|
| RightBot |
Corner right bottom of rectangle (X+Widht, Y+Height).
|
| RightTop |
Corner right top of rectangle (X+Widht, Y).
|
| Size |
Width and Height of the rectangle in float.
|
| Top |
Top value of rectangle (Y).
|
| Width |
Width of the rectangle.
|
| X |
X value of the rectangle.
|
| Y |
Y value of the rectangle.
|
| YMax |
Maximum Y value => Same as Bottom
|
| YMin |
Minimum Y value => Same as Top
|
| Contains(PointD) |
Contain a point wit X and Y coordinates.
|
| Contains(PointF) |
Contain a point wit X and Y coordinates.
|
| Contains(RectangleD) |
Contains the complete Rectangle inside this rectangle.
|
| Contains(Double, Double) |
Contain a point wit X and Y coordinates.
|
| Contains(Single, Single) |
Contain a point wit X and Y coordinates.
|
| Equals(Object) |
Same rectangle like this one?
(Overrides ValueTypeEquals(Object)) |
| Equals(Object, Int32) |
Comparing with fixed digits, e.g. only on 3 digits.
|
| FromLTRB |
Calculate a rectangle from outside coordinates.
|
| FromRectangleF |
New Rectangle from float values.
|
| GetArea |
Multiply width and height.
|
| GetHashCode |
Calculate an hash code for the rectangle.
(Overrides ValueTypeGetHashCode) |
| GetMidPoint |
Middle of this rectangle. It uses half width and half height combind with the location X and Y.
|
| Inflate(SizeF) |
Make the rectangle bigger in all directions.
|
| Inflate(Double, Double) |
Make the rectangle bigger in all directions.
|
| Inflate(RectangleD, Double, Double) |
Inflate(Widen) a rectangle with X and Y.
|
| Intersect(RectangleD) |
combine this rectangle with second Rect with intersecting rule.
|
| Intersect(RectangleD, RectangleD) |
combine both rectangles with intersecting rule.
|
| IntersectsWith(IEdge) |
Check the rectangle is intersection with a edge element.
|
| IntersectsWith(Rectangle) |
Check this rectangle interescts with second rectangle.
|
| IntersectsWith(RectangleD) |
Check this rectangle interescts with second rectangle. This return also true if the second rectangle is included.
|
| IntersectsWith(RectangleF) |
Check this rectangle interescts with second rectangle.
|
| Offset(PointD) |
Offset for X and Y (Move only the X and Y point).
|
| Offset(Double, Double) |
Offset for X and Y.
|
| SetFromRectangleF |
Set Rectangle from float values.
|
| Subtract(RectangleD, RectangleD) |
Reduce size of main rectangle by infinity lines of rectangle sub
|
| Subtract(RectangleD, RectangleD, Boolean) |
Reduce size of main rectangle by infinity lines of rectangle sub
|
| Subtract(RectangleD, RectangleD, Boolean, Boolean) |
Reduce size of main rectangle by infinity lines of rectangle sub
|
| ToRectangle |
Create an rectangle with int values of the RetangleD.
|
| ToRectangleF |
Create an rectangle float with this values.
|
| ToString | (Overrides ValueTypeToString) |
| Union(IEnumerableIBoundable) |
Union list of elements.
|
| Union(IEnumerableIBoundableD) |
Union list of elements.
|
| Union(RectangleD, RectangleD) |
Combine both rectangles.
|
| Union(RectangleD, RectangleD, Boolean) |
Combine both rectangles.
|