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.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(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.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

The end point of the segment.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

The spatial reference for the segment. If the segment does not have a spatial reference null is returned.

Link copied to clipboard

The start point of the segment.

Inherited functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int