﻿ DensifyByAngle Method (GeometryEngine)—ArcGIS Pro
ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryEngine Class / DensifyByAngle Method
The multipart to be densified. If the input multipart is empty, then it is returned unchanged.
The maximum angle in radians that the output geometry can deviate from the input geometry. If the specified maximum angle is less than zero, then the default value of PI / 18 is used. If it is equal to zero, then the default value of 2 * xyResolution * 100 is used. The xyResolution is obtained from the spatial reference of the input geometry. If it is NaN, then the input geometry is returned unchanged.

In This Topic
DensifyByAngle Method (GeometryEngine)
In This Topic
Densifies the specified geometry.
Syntax
```public Geometry DensifyByAngle(
Multipart multipart,
double maxAngleDeviation
)```
```Public Function DensifyByAngle( _
ByVal multipart As Multipart, _
ByVal maxAngleDeviation As Double _
) As Geometry```

#### Parameters

multipart
The multipart to be densified. If the input multipart is empty, then it is returned unchanged.
maxAngleDeviation
The maximum angle in radians that the output geometry can deviate from the input geometry. If the specified maximum angle is less than zero, then the default value of PI / 18 is used. If it is equal to zero, then the default value of 2 * xyResolution * 100 is used. The xyResolution is obtained from the spatial reference of the input geometry. If it is NaN, then the input geometry is returned unchanged.

#### Return Value

Returns the densified geometry. If the input geometry is empty, then it is returned unchanged.
Exceptions
ExceptionDescription
The input multipart is null.
Remarks
The densify operation adds vertices to the input geometry.The densify operation adds vertices to the input geometry. Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.