EllipticArcSegment

class EllipticArcSegment : Segment

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.

Constructors

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

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

Types

Link copied to clipboard
object Companion

Functions

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

Properties

Link copied to clipboard
val centerPoint: Point
Link copied to clipboard
val centralAngle: Double

The parametric angle in radians measuring the span of the arc from EllipticArcSegment.getStartAngle() to EllipticArcSegment.getEndAngle(). A positive value corresponds to a counterclockwise arc sweep.

Link copied to clipboard
val endAngle: Double

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
val endPoint: Point
Link copied to clipboard
val isCircular: Boolean

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
val isClosed: Boolean

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

Link copied to clipboard
val isCounterClockwise: Boolean

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

Link copied to clipboard
val isCurve: Boolean

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
val minorMajorRatio: Double

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

Link copied to clipboard
val rotationAngle: Double

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
val semiMajorAxis: Double

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
val semiMinorAxis: Double

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
val spatialReference: SpatialReference?
Link copied to clipboard
val startAngle: Double

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.

Link copied to clipboard
val startPoint: Point