PondContourCollection(PondContour) Constructor |
Initializes a new instance of the PondContourCollection class from an array of PondContours.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntaxpublic PondContourCollection(
PondContour[] contours
)
Public Sub New (
contours As PondContour()
)
public:
PondContourCollection(
array<PondContour^>^ contours
)
Parameters
- contours PondContour
- Array of PondContour objects to add to the collection.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown when the contours array is null. |
| ArgumentException |
Thrown when:
- A contour in the array contains unsupported pond geometry.
- The contours array has less than two items, contains null entries, or has duplicate IDs.
|
Remarks
The contours will be automatically sorted by area in descending order (outermost to innermost).
See Also