Show / Hide Table of Contents

Method CreateCircularEllipticArc

CreateCircularEllipticArc(MapPoint, Double, Double, Double, SpatialReference)

Creates an EllipticArcSegment that is a partial circle shape from the center point and radius of the embedded circle, and the start and central angle around that circle.

Declaration
public static EllipticArcSegment CreateCircularEllipticArc(MapPoint centerPoint, double radius, double startAngle, double centralAngle, SpatialReference spatialReference)
Parameters
Type Name Description
MapPoint centerPoint

The center point of the embedded circle.

System.Double radius

The distance from the center of the embedded circle to its perimeter.

System.Double startAngle

The parametric angle in radians of the start of the arc relative to the major axis of the embedded ellipse. A positive value corresponds to a counterclockwise rotation from the major axis.

System.Double centralAngle

The parametric angle in radians measuring the span of the arc from StartAngle to EndAngle. A positive value corresponds to a counterclockwise arc sweep.

SpatialReference spatialReference

The spatial reference of the new segment.

Returns
Type Description
EllipticArcSegment

A new EllipticArcSegment with the given center point, radius, start and central angles, and spatial reference, where IsCircular is true.

Remarks

The z-value and m-value of the center point (if present) are ignored. Use CreateCircularEllipticArc(MapPoint, MapPoint, MapPoint, SpatialReference) to create a circular EllipticArcSegment with end points with a z-value and/or m-value.

Exceptions
Type Condition
System.ArgumentException

Indicates that the spatial reference objects supplied (as a parameter or as a property of the center point parameter, that are not null), are not equal.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.12 - 200.7
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.7

CreateCircularEllipticArc(MapPoint, MapPoint, MapPoint, SpatialReference)

Creates an EllipticArcSegment from start, end, and interior points that is a partial circle shape.

Declaration
public static EllipticArcSegment CreateCircularEllipticArc(MapPoint startPoint, MapPoint endPoint, MapPoint interiorPoint, SpatialReference spatialReference)
Parameters
Type Name Description
MapPoint startPoint

The start point of the segment.

MapPoint endPoint

The end point of the segment.

MapPoint interiorPoint

A point along the circular arc, between the start and end points.

SpatialReference spatialReference

The spatial reference of the new segment.

Returns
Type Description
EllipticArcSegment

A new EllipticArcSegment with the given start, through and end point, and spatial reference, where IsCircular is true.

Remarks

The z-value and m-value of the start and end points (if present) are used in the circular EllipticArcSegment. The z-value and m-value of the interior point (if present) are ignored.

Exceptions
Type Condition
System.ArgumentException

Indicates that the spatial reference objects supplied (as a parameter or as a property of a MapPoint parameter, that are not null), are not equal.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.12 - 200.7
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.7
In This Article
Back to top Copyright © 2022 Esri.