Skip to main content

is-bezier-piece-zero-length

function isBezierPieceZeroLength(piece: BezierPiece): boolean

Defined in bezier-piece/is-bezier-piece-zero-length.ts:11

Returns true if the given bezier piece has zero length, i.e. if the start and end parameter are the same or if all control points are the same; otherwise returns false.

Parameters:

NameTypeDescription
pieceBezierPiecethe bezier piece to check