GetVerticesInsideBorderRandom Method

Gets an array that contains a random selection of TinSurfaceVertex objects inside the border specified by a Point3d collection.

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

Syntax

C#

public TinSurfaceVertex[] GetVerticesInsideBorderRandom(
	Point3dCollection border,
	int randomNumber
)

Visual Basic

Public Function GetVerticesInsideBorderRandom ( _
	border As Point3dCollection, _
	randomNumber As Integer _
) As TinSurfaceVertex()

Visual C++

public:
array<TinSurfaceVertex^>^ GetVerticesInsideBorderRandom(
	Point3dCollection^ border, 
	int randomNumber
)

Parameters

border
Type: Point3dCollection
A collection that contains the Point3d objects used to specify the border.
randomNumber
Type: System.Int32
The number of TinSurfaceVertices objects to get.

Remarks

The points in the collection should be able to build a border. 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 border contains less than three points.
  2. The randomNumber is less than 1.

See Also