TinSurfaceGetVerticesInsidePolylinesRandom Method |
Gets an array that contains a random sample of TinSurfaceVertex objects inside the polyline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic TinSurfaceVertex[] GetVerticesInsidePolylinesRandom(
ObjectIdCollection polylineIds,
int randomNumber
)
Public Function GetVerticesInsidePolylinesRandom (
polylineIds As ObjectIdCollection,
randomNumber As Integer
) As TinSurfaceVertex()
public:
array<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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The ObjectIdCollection contains types of ObjectId other than Autodesk.AutoCAD.DatabaseServices.Polyline.
- The polylineIds count is 0.
- The randomNumber is less than or equal to 0.
|
RemarksThis method is used to prepare the KrigingMethodOptions object used to smooth a surface using the Kriging method.
See Also