AddNonDestructiveBreaklines Method (Point2dCollection, Double)

Adds non-destructive breaklines to a surface from a collection of 2d points.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0

Syntax

C#

public SurfaceOperationAddBreakline AddNonDestructiveBreaklines(
	Point2dCollection points,
	double midOrdinateDistance
)

Visual Basic

Public Function AddNonDestructiveBreaklines ( _
	points As Point2dCollection, _
	midOrdinateDistance As Double _
) As SurfaceOperationAddBreakline

Visual C++

public:
SurfaceOperationAddBreakline^ AddNonDestructiveBreaklines(
	Point2dCollection^ points, 
	double midOrdinateDistance
)

Parameters

points
Type: Point2dCollection
A collection that contains 2d points used to create breaklines.
midOrdinateDistance
Type: System.Double
When the breakline is defined from a polyline with curves, the midOrdinateDistance value is used to tessellate the arcs in the polyline.

Remarks

When defining a non-destructive breakline, surface points are created at each point and at each intersection of a surface triangle edge and the non-destructive breakline object.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  1. The count of points is less than 2.
  2. midOrdinateDistance <= 0.0.

See Also