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

NameDescription
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:

ParameterTypeDescription
rectExtentSpecified area (see Extent)
optionsLineGeneratorOptionsLine creation options (see LineGeneratorOptions)

Returns

TypeDescription
System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.ILineString>Array of lines (see enumeration of ILineString)

Method: produce_points(rect, options) [static]

 produce_points(rect, options) 

Creates an array of points belonging to the specified area.

Parameters:

ParameterTypeDescription
rectExtentSpecified area (see Extent).
optionsPointGeneratorOptionsPoint creation options (see PointGeneratorOptions).

Returns

TypeDescription
System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.IGeometry>Array of points (see enumeration of IGeometry).

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:

ParameterTypeDescription
rectExtentSpecified area (see Extent)
optionsPolygonGeneratorOptionsPolygon creation options (see PolygonGeneratorOptions)

Returns

TypeDescription
System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.IPolygon>Array of polygons (see enumeration of IPolygon)

Method: produce_stars(rect, options) [static]

 produce_stars(rect, options) 

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

Parameters:

ParameterTypeDescription
rectExtentSpecified area (see Extent)
optionsStarGeneratorOptionsPolygon creation options (see StarGeneratorOptions)

Returns

TypeDescription
System.Collections.Generic.IEnumerable<Aspose.Gis.Geometries.IPolygon>Array of stars (see enumeration of IPolygon)