CubicBezier2d
Table of contents
Public class
Signature
class CubicBezier2d extends Polyline2d {}
References
Source
packages/editor/src/lib/primitives/geometry/CubicBezier2d.ts
Constructor
Public constructor
Constructs a new instance of the CubicBezier2d
class
Parameters
Name | Description |
---|---|
|
|
References
Properties
a
Public property
Signature
a: Vec
References
b
Public property
Signature
b: Vec
References
c
Public property
Signature
c: Vec
References
d
Public property
Signature
d: Vec
References
Methods
getVertices()
Public method
Signature
getVertices(): Vec[]
References
midPoint()
Public method
Signature
midPoint(): Vec
References
nearestPoint()
Public method
Signature
nearestPoint(A: Vec): Vec
Parameters
Name | Description |
---|---|
|
|
Returns
Vec
References