IDP.Math.KGeomLib.boundedCurve2dInLoop2D() method
以特定容差判断轮廓线是否落在另一环内。
Check if bounded curve is inside of base loop2d with specified tolerance.
Signature:
boundedCurve2dInLoop2D(checkCurve: KBoundedCurve2d, baseLoop: KLoop2d, tolerance?: number): KCurveInLoopType;
Links: boundedCurve2dInLoop2D(checkCurve: KBoundedCurve2d, baseLoop: KLoop2d, tolerance?: number): KCurveInLoopType;
Parameters
Parameter | Type | Description |
---|---|---|
checkCurve | 被判断的轮廓线。 The bounded curve to check. | |
baseLoop | 环。 The base loop2d. | |
tolerance | number | (Optional) 特定容差,默认值是1e-6。 The specified tolerance.The default value is 1e-6. |
Returns:
返回CurveInLoopType,包含曲线与环的位置关系信息。
The KCurveInLoopType include intersect type.