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:
| Name | Type | Description |
|---|---|---|
piece | BezierPiece | the bezier piece to check |