createCircularEllipticArc

fun createCircularEllipticArc(centerPoint: Point, radius: Double, startAngle: Double, centralAngle: Double, spatialReference: SpatialReference? = null): EllipticArcSegment

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. The z-value and m-value of the center point (if present) are ignored. Use EllipticArcSegment.createCircularEllipticArc(Point, Point, Point, SpatialReference) to create a circular EllipticArcSegment with end points with z-value and/or m-value.

Return

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

Since

200.1.0

Throws

if there is a mismatch between the SpatialReferences of the Point and the supplied parameter.


fun createCircularEllipticArc(startPoint: Point, endPoint: Point, interiorPoint: Point, spatialReference: SpatialReference? = null): EllipticArcSegment

Creates an EllipticArcSegment from start, end, and interior points that is a partial circle shape. 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.

Return

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

Since

200.1.0

Throws

if there is a mismatch between the SpatialReferences of the Points or the supplied parameter.