Skip to content

@ue-too/curve / offset2

Function: offset2()

offset2(curve, d): object

Defined in: packages/curve/src/b-curve.ts:1615

Alternative offset implementation using LUT-based approach.

Parameters

curve

BCurve

d

number

Returns

object

aabb

aabb: object

aabb.max

max: Point

aabb.min

min: Point

points

points: Point[]