**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

ArcGISEllipticArcSegment(ArcGISPoint, double, double, double, double, double, ArcGISSpatialReference)

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

Name | Type | Summary |
---|---|---|

`center` | The center point of the embedded ellipse. | |

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

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

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

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

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

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

ArcGISEllipticArcSegment(ArcGISPoint, ArcGISPoint, double, bool, bool, double, double, ArcGISSpatialReference)

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

*Since 1.0.0*

##### Arguments

Name | Type | Summary |
---|---|---|

`start` | The start point of the segment. | |

`end` | The end point of the segment. | |

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

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

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

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

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

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

## Properties

Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|

`No` | `Yes` | The center point of the ellipse that this segment is defined upon. | ||

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

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

`No` | `Yes` | Indicates if this arc is a portion of the boundary of a 2D circle. | ||

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

`No` | `Yes` | The ratio of the length of the semi-minor axis to the semi-major axis. | ||

`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. | ||

`No` | `Yes` | The length of the longer of the two axes of the ellipse upon which this arc is based. | ||

`No` | `Yes` | The length of the shorter of the two axes of the ellipse upon which this arc is based. | ||

`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 -2*PI and 2*PI, 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

Signature | Return Type | Summary |
---|---|---|

CreateCircularEllipticArc(ArcGISPoint, double, double, double, ArcGISSpatialReference) | 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. | |

CreateCircularEllipticArc(ArcGISPoint, ArcGISPoint, ArcGISPoint, ArcGISSpatialReference) | 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

Name | Type | Summary |
---|---|---|

`center` | The center point of the embedded circle. | |

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

`start` | ||

`central` | ||

`spatial` | 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

Name | Type | Summary |
---|---|---|

`start` | The start point of the segment. | |

`end` | The end point of the segment. | |

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

`spatial` | 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.