@revideo/2d / curves / CurvePoint
Interface: CurvePoint
Defined in: 2d/src/lib/curves/CurvePoint.ts:3
Properties
normal
normal:
Vector2
Defined in: 2d/src/lib/curves/CurvePoint.ts:14
position
position:
Vector2
Defined in: 2d/src/lib/curves/CurvePoint.ts:4
tangent
tangent:
Vector2
Defined in: 2d/src/lib/curves/CurvePoint.ts:13
Deprecated
The tangent is currently inconsistent for different types of curves and may
sometimes return the normal of the point, instead. This will be fixed in
the next major version but is kept as is for now for backwards
compatibility reasons. To always get the real tangent of the point, you can
use normal.flipped.perpendicular, instead.