Add Method (String, Point3dCollection)

Adds an outside boundary with the given boundary name and polygon points.

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

Syntax

C#

public CorridorSurfaceBoundary Add(
	string boundaryName,
	Point3dCollection points
)

Visual Basic

Public Function Add ( _
	boundaryName As String, _
	points As Point3dCollection _
) As CorridorSurfaceBoundary

Visual C++

public:
CorridorSurfaceBoundary^ Add(
	String^ boundaryName, 
	Point3dCollection^ points
)

Parameters

boundaryName
Type: System.String
Name of the newly created boundary.
points
Type: Point3dCollection
Points used to create boundary.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  1. The specified boundary name or points is invalid..
  2. The points cannot be used to construct a polygon.
  3. The polygon specified by points is self-crossing.

See Also