@rnacanvas/draw.bases.bonds 14.0.0 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ /**
2
+ * A collection of points.
3
+ */
4
+ export declare class Points<P extends PointLike> {
5
+ #private;
6
+ constructor(points: P[]);
7
+ /**
8
+ * Returns the closest point to the specified point.
9
+ *
10
+ * Returns the same point object that's in the points collection
11
+ * (i.e., doesn't create any new point objects).
12
+ */
13
+ closest(p: PointLike): P;
14
+ }
15
+ type PointLike = {
16
+ x: number;
17
+ y: number;
18
+ };
19
+ export {};
20
+ //# sourceMappingURL=Points.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Points.d.ts","sourceRoot":"","sources":["../src/Points.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,MAAM,CAAC,CAAC,SAAS,SAAS;;gBAGzB,MAAM,EAAE,CAAC,EAAE;IAIvB;;;;;OAKG;IACH,OAAO,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC;CAYzB;AAED,KAAK,SAAS,GAAG;IACf,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnacanvas/draw.bases.bonds",
3
- "version": "14.0.0",
3
+ "version": "14.0.1",
4
4
  "description": "Draw bonds between bases",
5
5
  "repository": {
6
6
  "type": "git",