PondContourGetOffsetContour Method

Creates a new PondContour that is offset both horizontally and vertically from this contour.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public PondContour GetOffsetContour(
	double horizontalOffset,
	double verticalOffset
)

Parameters

horizontalOffset  Double
Horizontal offset distance from this contour to the new one. Positive values expand the contour, negative values contract it.
verticalOffset  Double
Vertical offset distance from this contour to the new one. Positive values increase elevation.

Return Value

PondContour
A new PondContour that is offset both horizontally and vertically from the original.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when the offset operation results in invalid geometry.
Remarks
The elevation of the new contour is calculated by simply adding the vertical offset to the elevation of this contour.
See Also