BoundingRectangle Constructor (Double, Int32) |
Initializes a new instance from four consecutive elements in the provided array.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic BoundingRectangle(
double[] elements,
int startIndex
)
Public Sub New (
elements As Double(),
startIndex As Integer
)
public:
BoundingRectangle(
array<double>^ elements,
int startIndex
)
new :
elements : float[] *
startIndex : int -> BoundingRectangleParameters
- elements
- Type: SystemDouble
The array of coordinate values. - startIndex
- Type: SystemInt32
The index of the first element in the array to use.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when the array of elements is .
|
| ArgumentOutOfRangeException |
Thrown when an object of this type is constructed from an array with less than four elements.
|
| ArgumentException |
Thrown when the right parameter is less than the left parameter or when the top parameter is less than the bottom parameter.
|
See Also