Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "ops/split-near"

Index

Variables

Const splitNearPoint

splitNearPoint: MultiFn2<IShape, ArrayLikeIterable<number>, undefined | IShape[]> = defmulti<IShape,ReadonlyVec,IShape[] | undefined>(dispatch)

Similar to splitAt, but instead of taking a normalized parametric split position, splits the given curve at the closest point to p. Returns tuple of split shapes of same type as shape.

Implemented for:

  • Cubic
  • Line
  • Polyline
  • Quadratic
param

shape to operate on

param

split point

Generated using TypeDoc