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.1516
Syntax
C#
public TinSurfaceVertex[] GetVerticesInsidePolylinesRandom(
ObjectIdCollection polylineIds,
int randomNumber
)
VB
Public Function GetVerticesInsidePolylinesRandom (
polylineIds As ObjectIdCollection,
randomNumber As Integer
) As TinSurfaceVertex()
C++
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
Exceptions
| Exception | 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.
|
Remarks
This method is used to prepare the KrigingMethodOptions object used to smooth a surface using the Kriging method.
See Also
Reference