Rectangle |
[SerializableAttribute] public struct RectangleD3D
The RectangleD3D type exposes the following members.
| Name | Description | |
|---|---|---|
| RectangleD3D(PointD3D, VectorD3D) | Initializes a new instance of the RectangleD3D class | |
| RectangleD3D(Double, Double, Double, Double, Double, Double) | Initializes a new instance of the RectangleD3D class |
| Name | Description | |
|---|---|---|
| Center | Gets the center of this rectangle. | |
| Edges | Gets the edges of the rectange (first bottom edges, then the pillars, and then the top edges) | |
| Empty | ||
| IsEmpty | ||
| Location | ||
| LocationPlusSize | ||
| OuterCircleBoundingBox | Gets a rectangle that includes the smallest circle around this rectangle. | |
| Planes | Gets an enumeration of the planes of the faces of this rectangle (left, right, front, back, bottom, top). | |
| Size | ||
| SizeX | ||
| SizeY | ||
| SizeZ | ||
| TriangleIndices | Gets the triangle indices of all faces using the vertices returned by Vertices. The order is front, back, top, bottom, left, right. | |
| Vertices | Gets the vertices in binary order (x: 0th digit, y: 1st digit, z: 2nd digit). | |
| X | ||
| XCenter | ||
| XPlusSizeX | ||
| Y | ||
| YCenter | ||
| YPlusSizeY | ||
| Z | ||
| ZCenter | ||
| ZPlusSizeZ |
| Name | Description | |
|---|---|---|
| Contains | ||
| Equals | (Overrides ValueTypeEquals(Object)) | |
| GetHashCode | (Overrides ValueTypeGetHashCode) | |
| GetTriangleIndices | Gets the triangle indices of all faces using the vertices returned by Vertices. The order is front, back, top, bottom, left, right. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| NewRectangleIncludingAllPoints | Creates a new rectangle that includes all the provided points. | |
| ToString | (Overrides ValueTypeToString) | |
| WithLocation | ||
| WithOffset | Changes the location of the rectangle by the specified values for x and y. | |
| WithPadding | Inflates the rectangle by the specified values x and y. | |
| WithPointsIncluded | Returns a rectangle that is based on the current rectangle, but was expanded to include all the provided points. | |
| WithRectangleIncluded | Returns a rectangle that is based on the current rectangle, but was expanded to include all vertex points of the provided rectangle r. | |
| WithSize | ||
| WithSizePlus | ||
| WithSizeX | ||
| WithSizeXPlus | ||
| WithSizeY | ||
| WithSizeYPlus | ||
| WithSizeZ | ||
| WithSizeZPlus | ||
| WithX | Returns a new instance with X set to the provided value. | |
| WithXPlus | Returns a new instance with X set to the X plus the provided value. | |
| WithY | Returns a new instance with Y set to the provided value. | |
| WithYPlus | Returns a new instance with Y set to the Y plus the provided value. | |
| WithZ | Returns a new instance with Z set to the provided value. | |
| WithZPlus | Returns a new instance with Z set to the Z plus the provided value. |