GeoGenerator.ProducePoints

GeoGenerator.ProducePoints method

Creates an array of points belonging to the specified area.

public static IEnumerable<IGeometry> ProducePoints(Extent rect, PointGeneratorOptions options)
ParameterTypeDescription
rectExtentSpecified area (see Extent).
optionsPointGeneratorOptionsPoint creation options (see PointGeneratorOptions).

Return Value

Array of points (see enumeration of IGeometry).

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionNumber of points must be grater then one.
NullReferenceExceptionExtent must have a value (not be NULL).

See Also