# ArcGISEllipticArcSegment

Namespace: GameEngine.Geometry
Class: GameEngine/Geometry/ArcGISEllipticArcSegment
Since: 1.0.0
Inheritance: ArcGISSegment->ArcGISEllipticArcSegment

## Summary

An elliptic arc segment for use in a multipart geometry.

## Constructors

Creates an elliptic arc based on parameters that define an ellipse and the portion of that ellipse that defines the arc.

Since 1.0.0

##### Arguments
NameTypeSummary
`centerPoint`
`ArcGISPoint`

The center point of the embedded ellipse.

`rotationAngle`
`double`

The angle in radians by which the major axis of the embedded ellipse is rotated from the x-axis.

`semiMajorAxis`
`double`

The length of the semi-major axis of the embedded ellipse in the units of the spatial reference.

`minorMajorRatio`
`double`

The ratio of the length of the semi-minor axis to the length of the semi-major axis of the embedded ellipse.

`startAngle`
`double`

The parametric angle in radians of the start of the arc relative to the major axis of the embedded ellipse.

`centralAngle`
`double`

The parametric angle in radians measuring the span of the arc from ArcGISEllipticArcSegment.StartAngle to ArcGISEllipticArcSegment.EndAngle.

`spatialReference`
`ArcGISSpatialReference`

A spatial reference to use for the segment if the center point parameter does not have a spatial reference set.

Creates an elliptic arc segment from the given start and end points, and other parameters that define an ellipse.

Since 1.0.0

##### Arguments
NameTypeSummary
`startPoint`
`ArcGISPoint`

The start point of the segment.

`endPoint`
`ArcGISPoint`

The end point of the segment.

`rotationAngle`
`double`

The angle in radians by which the major axis of the embedded ellipse is rotated from the x-axis.

`isMinor`
`bool`

True if ArcGISEllipticArcSegment.CentralAngle of the segment is less than PI.

`isCounterClockwise`
`bool`

True if the direction of the segment, from start point to end point, proceeds in a counterclockwise direction, otherwise false.

`semiMajorAxis`
`double`

The length of the semi-major axis of the embedded ellipse in the units of the spatial reference.

`minorMajorRatio`
`double`

The ratio of the length of the semi-minor axis to the length of the semi-major axis of the embedded ellipse.

`spatialReference`
`ArcGISSpatialReference`

A spatial reference to use for the segment if the points do not have spatial references set.

## Properties

`CenterPoint`
`ArcGISPoint`
`No`
`Yes`

The center point of the ellipse that this segment is defined upon.

`CentralAngle`
`double`
`No`
`Yes`

The parametric angle in radians measuring the span of the arc from ArcGISEllipticArcSegment.StartAngle to ArcGISEllipticArcSegment.EndAngle.

`EndAngle`
`double`
`No`
`Yes`

The parametric angle in radians of the end of the arc relative to the major axis of the embedded ellipse.

`IsCircular`
`bool`
`No`
`Yes`

Indicates if this arc is a portion of the boundary of a 2D circle.

`IsCounterClockwise`
`bool`
`No`
`Yes`

Indicates if the direction of the segment, from start point to end point, proceeds in a counterclockwise direction.

`MinorMajorRatio`
`double`
`No`
`Yes`

The ratio of the length of the semi-minor axis to the semi-major axis.

`RotationAngle`
`double`
`No`
`Yes`

The angle in radians by which the major axis of the ellipse this segment is based upon is rotated from the x-axis.

`SemiMajorAxis`
`double`
`No`
`Yes`

The length of the longer of the two axes of the ellipse upon which this arc is based.

`SemiMinorAxis`
`double`
`No`
`Yes`

The length of the shorter of the two axes of the ellipse upon which this arc is based.

`StartAngle`
`double`
`No`
`Yes`

The parametric angle in radians of the start of the arc relative to the major axis of the embedded ellipse.

### CenterPoint

ArcGISPoint CenterPoint

The center point of the ellipse that this segment is defined upon.

### CentralAngle

double CentralAngle

The parametric angle in radians measuring the span of the arc from ArcGISEllipticArcSegment.StartAngle to ArcGISEllipticArcSegment.EndAngle.

A positive value corresponds to a counterclockwise arc sweep.

This value is always between -2PI and 2PI, these limits indicating this arc forms a complete ellipse in either clockwise or counterclockwise direction.

### EndAngle

double EndAngle

The parametric angle in radians of the end of the arc relative to the major axis of the embedded ellipse.

A positive value corresponds to a counterclockwise rotation from the major axis.

### IsCircular

bool IsCircular

Indicates if this arc is a portion of the boundary of a 2D circle.

An elliptic arc is circular if the ellipse upon which it is based is a circle, meaning the lengths of its major and minor axes are equal.

Use ArcGISEllipticArcSegment.CreateCircularEllipticArc and ArcGISEllipticArcSegment.CreateCircularEllipticArc to create circular arcs.

### IsCounterClockwise

bool IsCounterClockwise

Indicates if the direction of the segment, from start point to end point, proceeds in a counterclockwise direction.

### MinorMajorRatio

double MinorMajorRatio

The ratio of the length of the semi-minor axis to the semi-major axis.

### RotationAngle

double RotationAngle

The angle in radians by which the major axis of the ellipse this segment is based upon is rotated from the x-axis.

### SemiMajorAxis

double SemiMajorAxis

The length of the longer of the two axes of the ellipse upon which this arc is based.

The semi-major axis always lies on the line between 0 and PI radians.

The length is in the units of the spatial reference.

### SemiMinorAxis

double SemiMinorAxis

The length of the shorter of the two axes of the ellipse upon which this arc is based.

The semi-minor axis always lies on the line between PI/2 and 3*PI/2 radians.

The length is in the units of the spatial reference.

### StartAngle

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.

## Methods

SignatureReturn TypeSummary

ArcGISEllipticArcSegment

Creates an ArcGISEllipticArcSegment 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.

ArcGISEllipticArcSegment

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

### CreateCircularEllipticArc

static ArcGISEllipticArcSegment CreateCircularEllipticArc(ArcGISPoint centerPoint, double radius, double startAngle, double centralAngle, ArcGISSpatialReference spatialReference)

Creates an ArcGISEllipticArcSegment 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.

Since 1.0.0

##### Arguments
NameTypeSummary
`centerPoint`
`ArcGISPoint`

The center point of the embedded circle.

`radius`
`double`

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

`startAngle`
`double`

The parametric angle in radians of the start of the arc relative to the major axis of the embedded ellipse.

`centralAngle`
`double`

The parametric angle in radians measuring the span of the arc from ArcGISEllipticArcSegment.StartAngle to ArcGISEllipticArcSegment.EndAngle.

`spatialReference`
`ArcGISSpatialReference`

The spatial reference of the new segment.

##### Returns ArcGISEllipticArcSegment

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

### CreateCircularEllipticArc

static ArcGISEllipticArcSegment CreateCircularEllipticArc(ArcGISPoint startPoint, ArcGISPoint endPoint, ArcGISPoint interiorPoint, ArcGISSpatialReference spatialReference)

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

Since 1.0.0

##### Arguments
NameTypeSummary
`startPoint`
`ArcGISPoint`

The start point of the segment.

`endPoint`
`ArcGISPoint`

The end point of the segment.

`interiorPoint`
`ArcGISPoint`

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

`spatialReference`
`ArcGISSpatialReference`

The spatial reference of the new segment.

##### Returns ArcGISEllipticArcSegment

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