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