SurfaceDefinitionBreaklinesAddStandardBreaklines(Point2dCollection, Double, Double, Double, Double) Method |
Adds standard breaklines to the surface from a collection of 2d points.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic SurfaceOperationAddBreakline AddStandardBreaklines(
Point2dCollection points,
double midOrdinateDistance,
double maximumDistance,
double weedingDistance,
double weedingAngle
)
Public Function AddStandardBreaklines (
points As Point2dCollection,
midOrdinateDistance As Double,
maximumDistance As Double,
weedingDistance As Double,
weedingAngle As Double
) As SurfaceOperationAddBreakline
public:
SurfaceOperationAddBreakline^ AddStandardBreaklines(
Point2dCollection^ points,
double midOrdinateDistance,
double maximumDistance,
double weedingDistance,
double weedingAngle
)
Parameters
- points Point2dCollection
- A collection of 2d points used to create breaklines.
- midOrdinateDistance Double
- When the breakline is defined from a polyline with curves, the midOrdinateDistance value is used to tessellate the arcs in the polyline.
- maximumDistance Double
- Specifies the maximum distance between vertices. If the distance between vertices on a breakline is greater than the maximumDistance, then points are added along the breakline at equal intervals that are less than or equal to the maximumDistance.
- weedingDistance Double
- The distance value for the weeding factor.
- weedingAngle Double
- The angle value for the weeding factor.
Return Value
SurfaceOperationAddBreakline
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The count of points is less than two.
- midOrdinateDistance <= 0.0 , maximumDistance < 0.0 or weedingDistance < 0.0.
|
Remarks- The weeding factors ignore both vertices that are closer together than the distance factor and vertices that deflect less than the angle factor.
- Set a parameter to 0 to ignore it.
See Also