GeoGenerator.ProduceLines
GeoGenerator.ProduceLines method
Creates a new ILineString Enumerator with a given number of random items, all of them within a given extent.
public static IEnumerable<ILineString> ProduceLines(Extent rect, LineGeneratorOptions options)
Parameter | Type | Description |
---|---|---|
rect | Extent | Specified area (see Extent ) |
options | LineGeneratorOptions | Line creation options (see LineGeneratorOptions ) |
Return Value
Array of lines (see enumeration of ILineString
)
Exceptions
exception | condition |
---|---|
ArgumentOutOfRangeException | Number of lines must be grater then one. |
NullReferenceException | Extent must have a value (not be NULL) |
See Also
- interface ILineString
- class Extent
- class LineGeneratorOptions
- class GeoGenerator
- namespace Aspose.Gis.GeoTools
- assembly Aspose.GIS