Adds contours to a surface from a collection of 2d points.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public SurfaceOperationAddContour AddContours(
Point2dCollection points,
double midOrdinateDistance,
double maximumDistance,
double weedingDistance,
double weedingAngle
) |
| Visual Basic |
|---|
Public Function AddContours ( _
points As Point2dCollection, _
midOrdinateDistance As Double, _
maximumDistance As Double, _
weedingDistance As Double, _
weedingAngle As Double _
) As SurfaceOperationAddContour |
| Visual C++ |
|---|
public:
SurfaceOperationAddContour^ AddContours(
Point2dCollection^ points,
double midOrdinateDistance,
double maximumDistance,
double weedingDistance,
double weedingAngle
) |
Parameters
- points
- Type: Point2dCollection
A collection of 2d points used to create contours.
- midOrdinateDistance
- Type: System..::..Double
When the contour is defined from a polyline with curves, the midOrdinateDistance value is used to tessellate the arcs in the polyline.
- maximumDistance
- Type: System..::..Double
Specifies the maximum distance between vertices. If the distance between vertices on a contour is greater than the maximumDistance, then points are added along the contour at equal intervals that are less than or equal to the maximumDistance.
- weedingDistance
- Type: System..::..Double
The distance value for the weeding factor.
- weedingAngle
- Type: System..::..Double
The angle value for the weeding factor.
Remarks
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when:
- The count of points is less than two.
- midOrdinateDistance <= 0.0, maximumDistance < 0.0, weedingDistance < 0.0 or weedingDistance >= maximumDistance
|
See Also