@kudashi/kds-api 2.13.24 → 2.13.26
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.
- package/api.d.ts +24 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// version: 2.13.
|
|
1
|
+
// version: 2.13.26
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
/**
|
|
@@ -21,6 +21,11 @@ declare global {
|
|
|
21
21
|
* You may think edges are boundaries of a face, and each edge represents a bounded curve (line segment, arc, etc.)
|
|
22
22
|
*/
|
|
23
23
|
interface KTopoEdge extends KTopoEntity {
|
|
24
|
+
/**
|
|
25
|
+
* Get a unique key assigned to a edge.
|
|
26
|
+
* @returns The unique key.
|
|
27
|
+
*/
|
|
28
|
+
getKey(): string;
|
|
24
29
|
/**
|
|
25
30
|
* Retrieve the shell that the edge belongs to.
|
|
26
31
|
* @returns The shell if successful, otherwise null.
|
|
@@ -9778,6 +9783,24 @@ declare global {
|
|
|
9778
9783
|
* The 2d point
|
|
9779
9784
|
*/
|
|
9780
9785
|
getUVPoint(point: KPoint3d): KPoint2d;
|
|
9786
|
+
/**
|
|
9787
|
+
* 通过传入的二维点获取三维点。
|
|
9788
|
+
* 输入点的x坐标是面上一点的u参数。
|
|
9789
|
+
* y坐标是v参数。
|
|
9790
|
+
*
|
|
9791
|
+
* Get a 3d point from the input 2d UV point.
|
|
9792
|
+
* The input point's x coordinate is parameter u for a point on the surface.
|
|
9793
|
+
* y coordinate is parameter v for a point on the surface.
|
|
9794
|
+
* @param uv
|
|
9795
|
+
* 输入的二维UV点。
|
|
9796
|
+
*
|
|
9797
|
+
* The input UV point.
|
|
9798
|
+
* @returns
|
|
9799
|
+
* 三维点。
|
|
9800
|
+
*
|
|
9801
|
+
* The 3D point.
|
|
9802
|
+
*/
|
|
9803
|
+
getPoint(uv: KPoint2d): KPoint3d;
|
|
9781
9804
|
}
|
|
9782
9805
|
/**
|
|
9783
9806
|
* KVector2d表示一个二维向量。
|