SwiftextensionGeometry
geom_cubic_bezier_2d
extension geom_cubic_bezier_2d: Geometry.CubicBezier2
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
typealiasgeom_cubic_bezier_2d
inherits{}
- protocolGeometry.CubicBezier2
Members 23
- func
approximateClosestPoint(to: SIMD2<Double>, withSampleCount: Int) -> (point: SIMD2<Double>, closestT: Double, squaredDistance: Double) - func
closestPoint(to: SIMD2<Double>) -> (point: SIMD2<Double>, closestT: Double, squaredDistance: Double) - func
findCharacteristicPoints() -> (type: geom_cubic_curve_type, pointsAlongCurve: Geometry.BoundedArray2<Double>) - func
findMonotonicIntervals() -> Geometry.BoundedArray6<Double> - func
findRoots(withXValue: Double) -> Geometry.BoundedArray3<Double> - func
findRoots(withYValue: Double) -> Geometry.BoundedArray3<Double> - func
fitWithQuadraticBezierPair(at: Double) -> (geom_quadratic_bezier_2d, geom_quadratic_bezier_2d) - func
orientedBBox() -> geom_oriented_bbox_2d - func
orientedBBoxMatrix() -> simd_double3x3 - func
subdivided(at: Double) -> (left: geom_cubic_bezier_2d, right: geom_cubic_bezier_2d) - func
tightBBox() -> geom_bbox_2d - init
init(powerBasis: (SIMD2<Double>, SIMD2<Double>, SIMD2<Double>, SIMD2<Double>)) -> geom_cubic_bezier_2d - init
init(interpolatePoints: (SIMD2<Double>, SIMD2<Double>), derivatives: (SIMD2<Double>, SIMD2<Double>)) -> geom_cubic_bezier_2d - init
init(interpolatePoints: (SIMD2<Double>, SIMD2<Double>, SIMD2<Double>, SIMD2<Double>)) -> geom_cubic_bezier_2d - typealias
typealias BBox2Type = __C.geom_bbox_2d - typealias
typealias Collection2Type = __C.OS_geom_collection_2d - typealias
typealias LineSegment2Type = __C.geom_line_segment_2d - typealias
typealias Matrix3x3Type = __C.simd_double3x3 - typealias
typealias OrientedBBox2Type = __C.geom_oriented_bbox_2d - typealias
typealias QuadraticBezier2Type = __C.geom_quadratic_bezier_2d - typealias
typealias Scalar = Swift.Double - var
var arcLength: Double { get } - var
var powerBasis: (SIMD2<Double>, SIMD2<Double>, SIMD2<Double>, SIMD2<Double>) { get }
Header
extension __C.geom_cubic_bezier_2d: Geometry.CubicBezier2 { typealias Scalar = Swift.Double typealias LineSegment2Type = __C.geom_line_segment_2d typealias QuadraticBezier2Type = __C.geom_quadratic_bezier_2d typealias Collection2Type = __C.OS_geom_collection_2d typealias BBox2Type = __C.geom_bbox_2d typealias OrientedBBox2Type = __C.geom_oriented_bbox_2d typealias Matrix3x3Type = __C.simd_double3x3 }