vjcad 1.0.2 → 1.0.3
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/dist/types.d.ts +17 -1
- package/dist/vjcad-lib.umd.js +2 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -47731,7 +47731,13 @@ declare class TwoLineAngularDimensionEnt extends DimensionBase {
|
|
|
47731
47731
|
get arcRadius(): number;
|
|
47732
47732
|
/**
|
|
47733
47733
|
* 确定标注的角度区间
|
|
47734
|
-
*
|
|
47734
|
+
*
|
|
47735
|
+
* 两条线从顶点出发形成4条射线,将平面分为4个扇区。
|
|
47736
|
+
* 必须将4条射线按角度排序后才能正确划分扇区,
|
|
47737
|
+
* 否则当 line1Angle > line2Angle 时区间定义会出错。
|
|
47738
|
+
*
|
|
47739
|
+
* startLineIdx/endLineIdx 标识扇区边界对应哪条定义线(0=line1, 1=line2),
|
|
47740
|
+
* 用于确定延伸线应从哪条线的端点起始。
|
|
47735
47741
|
*/
|
|
47736
47742
|
private getArcAngles;
|
|
47737
47743
|
/**
|
|
@@ -47823,6 +47829,16 @@ declare class TwoLineAngularDimensionEnt extends DimensionBase {
|
|
|
47823
47829
|
* 计算两条线的交点
|
|
47824
47830
|
*/
|
|
47825
47831
|
private computeLineIntersection;
|
|
47832
|
+
/**
|
|
47833
|
+
* 检查 middlePoint 是否在 point1 和 point2 之间(共线且在线段上)
|
|
47834
|
+
* 移植自 ODA Od2LineAngularDimRecomputor.cpp isBetween()
|
|
47835
|
+
*/
|
|
47836
|
+
private isPointBetween;
|
|
47837
|
+
/**
|
|
47838
|
+
* 从三个候选点中选离目标点最近的
|
|
47839
|
+
* 移植自 ODA Od2LineAngularDimRecomputor.cpp getNearestPoint()
|
|
47840
|
+
*/
|
|
47841
|
+
private getNearestOfThree;
|
|
47826
47842
|
/**
|
|
47827
47843
|
* 设置源实体(建立关联)
|
|
47828
47844
|
*/
|