CubicBezierSegment

class CubicBezierSegment : Segment

A cubic Bezier curve for use in a multipart geometry.

Constructors

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

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 controlPoint1: Point
Link copied to clipboard
val controlPoint2: Point
Link copied to clipboard
val endPoint: Point
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 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 spatialReference: SpatialReference?
Link copied to clipboard
val startPoint: Point