Click or drag to resize

PolylineCreateStarPolygon Method

Create a regular star polygon. The star begins at circle.PointAt(0) and the vertices alternate between being on circle and begin on a concentric circle of other_radius.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Polyline CreateStarPolygon(
	Circle circle,
	double radius,
	int cornerCount
)

Parameters

circle
Type: Rhino.GeometryCircle
The circle.
radius
Type: SystemDouble
The radius of other circle.
cornerCount
Type: SystemInt32
The number of corners on the circle. There will be 2*cornerCount sides and 2*cornerCount vertices.

Return Value

Type: Polyline
A closed polyline if successful, null otherwise.
Version Information

Rhino for Windows

Supported in: 6.27
See Also