KSurface.isCurveOnSurface() method
以指定容差检查输入曲线是否在面上。
Check whether the input curve is on the surface or not with specified tolerance.
Signature:
isCurveOnSurface(curve: KCurve3d, tolerance?: number): boolean;
Links: isCurveOnSurface(curve: KCurve3d, tolerance?: number): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
curve | 传入曲线。 The input curve. | |
tolerance | number | (Optional) 指定容差,默认值为1e-6。 The specified tolerance.The default value is 1e-6. |
Returns:
boolean
如果在面上返回true。
Return true if on the surface, otherwise return false.