Global Mapper SDK
OperationParams_t.GM_SpatialOps.SpatialCircle Method |
Create a circle around each feature or collection of features. The aDistance parameter is the radius in the given units. If aDistance is 0, then the radius will be determined by the furthest point on the geometry collection
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
Copy
public static GM_Error_t32 SpatialCircle(
GM_Layer_t aLayer,
GM_SpatialOps_Params_t aParams,
GM_Distance_t aDistance,
GM_FeatureGrouping_t8 aGrouping,
string aStr
)
Parameters
- aLayer
-
Type:
GlobalMapper.Types
.
GM_Layer_t
IN: Input layer
- aParams
-
Type:
GlobalMapper
.
GM_SpatialOps_Params_t
IN: Parameters
- aGrouping
-
Type:
GlobalMapper
.
GM_FeatureGrouping_t8
IN: Grouping type
- aDistance
-
Type:
GlobalMapper
.
GM_Distance_t
IN: Buffer width
- aStr
-
Type:
String
IN: the attribute list string; may be NULL
Return Value
Type: GM_Error_t32A GM Error Code
