Gets an array that contains a random sample of TinSurfaceVertex objects inside the polyline.

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

Syntax

C#
public TinSurfaceVertex[] GetVerticesInsidePolylinesRandom(
	ObjectIdCollection polylineIds,
	int randomNumber
)
Visual Basic
Public Function GetVerticesInsidePolylinesRandom ( _
	polylineIds As ObjectIdCollection, _
	randomNumber As Integer _
) As TinSurfaceVertex()
Visual C++
public:
array<TinSurfaceVertex^>^ GetVerticesInsidePolylinesRandom(
	ObjectIdCollection^ polylineIds, 
	int randomNumber
)

Parameters

polylineIds
Type: ObjectIdCollection
A collection that contains polyline ObjectIds.
randomNumber
Type: System..::..Int32
The number of TinSurfaceVertices objects to get.

Remarks

This method is used to prepare the KrigingMethodOptions object used to smooth a surface using the Kriging method.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The ObjectIdCollection contains types of ObjectId other than Autodesk.AutoCAD.DatabaseServices.Polyline.
  2. The polylineIds count is 0.
  3. The randomNumber is less than or equal to 0.

See Also