Skip to content

Commit

Permalink
feat(geom-api): re-add Convexity enum
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jan 28, 2019
1 parent 2b23546 commit 6ee03eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/geom-api/src/convex.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* Polygon convexity classifier.
*/
export const enum Convexity {
ILLEGAL = -1,
COLINEAR = 0,
CONVEX,
CONCAVE,
}
1 change: 1 addition & 0 deletions packages/geom-api/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from "./accel";
export * from "./convex";
export * from "./isec";
export * from "./path";
export * from "./sample";
Expand Down

0 comments on commit 6ee03eb

Please sign in to comment.