GeoGenerator Class
Summary: Generator of random points, lines and polygons on given planes.
Module: aspose.gis.geotools
Full Name: aspose.gis.geotools.GeoGenerator
Aspose.PSD Version: 25.9.0
Methods
| Name | Description |
|---|---|
| produce_lines(rect, options) | Creates a new ILineString Enumerator with a given number of random items, all of them within a given extent. |
| produce_points(rect, options) | Creates an array of points belonging to the specified area. |
| produce_polygons(rect, options) | Creates a new IPolygon Enumerator with a given number of random items, all of them within a given extent. |
| produce_stars(rect, options) | Creates an array of stars, all of them within a given extent. |
Method: produce_lines(rect, options) [static]
produce_lines(rect, options)
Creates a new ILineString Enumerator with a given number of random items, all of them within a given extent.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rect | Extent | Specified area (see |
| options | LineGeneratorOptions | Line creation options (see |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.ILineString> | Array of lines (see enumeration of |
Method: produce_points(rect, options) [static]
produce_points(rect, options)
Creates an array of points belonging to the specified area.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rect | Extent | Specified area (see |
| options | PointGeneratorOptions | Point creation options (see |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.IGeometry> | Array of points (see enumeration of |
Method: produce_polygons(rect, options) [static]
produce_polygons(rect, options)
Creates a new IPolygon Enumerator with a given number of random items, all of them within a given extent.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rect | Extent | Specified area (see |
| options | PolygonGeneratorOptions | Polygon creation options (see |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.IPolygon> | Array of polygons (see enumeration of |
Method: produce_stars(rect, options) [static]
produce_stars(rect, options)
Creates an array of stars, all of them within a given extent.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rect | Extent | Specified area (see |
| options | StarGeneratorOptions | Polygon creation options (see |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.IPolygon> | Array of stars (see enumeration of |