GeoGenerator.ProduceStars

GeoGenerator.ProduceStars method

Creates an array of stars, all of them within a given extent.

public static IEnumerable<IPolygon> ProduceStars(Extent rect, StarGeneratorOptions options)
ParameterTypeDescription
rectExtentSpecified area (see Extent)
optionsStarGeneratorOptionsPolygon creation options (see StarGeneratorOptions)

Return Value

Array of stars (see enumeration of IPolygon)

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionNumber of stars must be grater then one.
NullReferenceExceptionExtent must have a value (not be NULL)
ArgumentExceptionThe minimum and maximum lengths must be unequal and greater than 3
ArgumentExceptionThe maximum length must be greater than the minimum

See Also