TinSurfaceGetVerticesInsidePolylinesRandom Method

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.8.0.292
Syntax
public TinSurfaceVertex[] GetVerticesInsidePolylinesRandom(
	ObjectIdCollection polylineIds,
	int randomNumber
)

Parameters

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

Return Value

TinSurfaceVertex
Exceptions
ExceptionCondition
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.
Remarks
This method is used to prepare the KrigingMethodOptions object used to smooth a surface using the Kriging method.
See Also