@kudashi/kds-api 2.13.24 → 2.13.25

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.
Files changed (2) hide show
  1. package/api.d.ts +19 -1
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // version: 2.13.23
1
+ // version: 2.13.25
2
2
 
3
3
  declare global {
4
4
  /**
@@ -9778,6 +9778,24 @@ declare global {
9778
9778
  * The 2d point
9779
9779
  */
9780
9780
  getUVPoint(point: KPoint3d): KPoint2d;
9781
+ /**
9782
+ * 通过传入的二维点获取三维点。
9783
+ * 输入点的x坐标是面上一点的u参数。
9784
+ * y坐标是v参数。
9785
+ *
9786
+ * Get a 3d point from the input 2d UV point.
9787
+ * The input point's x coordinate is parameter u for a point on the surface.
9788
+ * y coordinate is parameter v for a point on the surface.
9789
+ * @param uv
9790
+ * 输入的二维UV点。
9791
+ *
9792
+ * The input UV point.
9793
+ * @returns
9794
+ * 三维点。
9795
+ *
9796
+ * The 3D point.
9797
+ */
9798
+ getPoint(uv: KPoint2d): KPoint3d;
9781
9799
  }
9782
9800
  /**
9783
9801
  * KVector2d表示一个二维向量。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kudashi/kds-api",
3
- "version": "2.13.24",
3
+ "version": "2.13.25",
4
4
  "description": "kds api",
5
5
  "main": "api.d.ts",
6
6
  "scripts": {