Share

CorridorSurfaceMaskCollection.Add(String, Point3dCollection) Method

Adds a mask with the given mask name and polygon points.



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

Syntax

C#

public CorridorSurfaceMask Add(
	string maskName,
	Point3dCollection points
)

VB

Public Function Add ( 
	maskName As String,
	points As Point3dCollection
) As CorridorSurfaceMask

C++

public:
CorridorSurfaceMask^ Add(
	String^ maskName, 
	Point3dCollection^ points
)

Parameters

maskName  String
Name of the newly created mask.
points  Point3dCollection
Points used to create mask.

Return Value

CorridorSurfaceMask

Exceptions

ExceptionCondition
ArgumentException Thrown when:
  1. The specified mask 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

Reference

Was this information helpful?