# EllipticArcSegment

An elliptic arc segment for use in a multipart geometry. An elliptic arc is the portion of the boundary of a 2D ellipse that connects two points.

200.1.0

## Constructors

fun EllipticArcSegment(centerPoint: Point, rotationAngle: Double, semiMajorAxis: Double, minorMajorRatio: Double, startAngle: Double, centralAngle: Double, spatialReference: SpatialReference? = null)

Creates an elliptic arc based on parameters that define an ellipse and the portion of that ellipse that defines the arc. The spatial reference parameter is used if the center point parameter has a null spatial reference. If both spatial references are supplied, they must be equal.

fun EllipticArcSegment(startPoint: Point, endPoint: Point, rotationAngle: Double, isMinor: Boolean, isCounterClockwise: Boolean, semiMajorAxis: Double, minorMajorRatio: Double, spatialReference: SpatialReference? = null)

Creates an elliptic arc segment from the given start and end points, and other parameters that define an ellipse. The z-value and m-value of the start and end points (if present) are used in the EllipticArcSegment.

object Companion

## Properties

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

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

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.

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.

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

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

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

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

## Inherited properties

The end point of the segment.

Indicates is a segment is closed, it has a matching start and end point.

False if the object is a LineSegment; true otherwise. Prior to v100.12, only LineSegment instances were supported when creating new geometries using a MultipartBuilder or iterating the Segment instances in an existing Multipart geometry.