Generates random vertices inside a 3d cube.
Namespace:
ceometric.ComputationalGeometry
Assembly:
ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function RandomInCube ( _
numberOfVertices As Integer, _
length As Double, _
width As Double, _
height As Double _
) As PointSet |
Return Value
Returns a 3d set of points in the form of a cube. The points randomly lie inside
the cube or on the surface of the cube. The center of the cube is (0,0,0).
See Also