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

The center point of the embedded ellipse.

rotationAngle

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

semiMajorAxis

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

minorMajorRatio

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

startAngle

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

centralAngle

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

spatialReference

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

The start point of the segment.

endPoint

The end point of the segment.

rotationAngle

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

isMinor

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

isCounterClockwise

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

semiMajorAxis

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

minorMajorRatio

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

spatialReference

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

Properties

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

CreateCircularEllipticArc(ArcGISPoint, double, double, double, ArcGISSpatialReference)

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.

CreateCircularEllipticArc(ArcGISPoint, ArcGISPoint, ArcGISPoint, ArcGISSpatialReference)

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

The center point of the embedded circle.

radius

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

startAngle

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

centralAngle

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

spatialReference

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

The start point of the segment.

endPoint

The end point of the segment.

interiorPoint

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

spatialReference

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.