Generates a 3d tent supershape with random vertices.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
| C# |
|---|
public static PointSet SupershapeTent( int numberOfVertices ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function SupershapeTent ( _ numberOfVertices As Integer _ ) As PointSet |
| Visual C++ |
|---|
public: static PointSet^ SupershapeTent( int numberOfVertices ) |
Parameters
- numberOfVertices
- Type: System..::.Int32
The number of random points in the set.
Return Value
Returns a 3d set of points in the form of a tent.
Remarks
The shapes are computed using the supershape formula due to John Gielis.