Skip to content

Commit

Permalink
feat(geom-api): add SamplingOpts.start
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jan 10, 2023
1 parent cdb6af6 commit 8b72804
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/geom-api/src/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,14 @@ export interface SamplingOpts {
* in `num+1` points.
*/
last: boolean;
/**
* Optional parametric (normalized) start position.
*
* @remarks
* Note: Currently, in thi.ng/geom this option is only used for resampling
* circles or ellipses.
*
* @defaultValue 0
*/
start: number;
}

0 comments on commit 8b72804

Please sign in to comment.