CubicBezierSegment

A cubic Bezier curve for use in a multipart geometry.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(startPoint: Point, controlPoint1: Point, controlPoint2: Point, endPoint: Point, spatialReference: SpatialReference? = null)

Creates a bezier segment based on a start and end point and two control points at tangents to the start and end points. The spatial reference parameter is used if the points have a null spatial reference. If more than one spatial reference is supplied (as a parameter or as a property of a Point parameter), they must all be equal.

Properties

Link copied to clipboard

A point tangent to the start of the segment.

Link copied to clipboard

A point tangent to the end of the segment.

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

True if the segment is a CubicBezierSegment or EllipticArcSegment, false otherwise. You can add curve segments (CubicBezierSegment, EllipticArcSegment) when using a MultipartBuilder, and get them back from an existing Multipart geometry when Geometry.hasCurves is true.

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