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)
Parameter | Type | Description |
---|---|---|
rect | Extent | Specified area (see Extent ) |
options | StarGeneratorOptions | Polygon creation options (see StarGeneratorOptions ) |
Return Value
Array of stars (see enumeration of IPolygon
)
Exceptions
exception | condition |
---|---|
ArgumentOutOfRangeException | Number of stars must be grater then one. |
NullReferenceException | Extent must have a value (not be NULL) |
ArgumentException | The minimum and maximum lengths must be unequal and greater than 3 |
ArgumentException | The maximum length must be greater than the minimum |
See Also
- interface IPolygon
- class Extent
- class StarGeneratorOptions
- class GeoGenerator
- namespace Aspose.Gis.GeoTools
- assembly Aspose.GIS