BoundingRectangle Constructor (Double) |
Initializes a new instance from the first four consecutive elements in the provided array.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public BoundingRectangle(
double[] elements
)
Public Sub New (
elements As Double()
)
public:
BoundingRectangle(
array<double>^ elements
)
new :
elements : float[] -> BoundingRectangle
Parameters
- elements
- Type: SystemDouble
The array of coordinate values.
Exceptions Exception | Condition |
---|
ArgumentNullException |
The array of elements cannot be .
|
ArgumentOutOfRangeException |
An object of this type must be constructed from an array with at least 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