IDP.Math.KBoundedCurve3d.splitByPoint() method
把当前有界曲线按给定点分成两段。
Split the bounded curve into two segments by the given point.
Signature:
splitByPoint(point: KPoint3d, distTol?: number): KBoundedCurve3d[];
Links: splitByPoint(point: KPoint3d, distTol?: number): KBoundedCurve3d[];
Parameters
Parameter | Type | Description |
---|---|---|
point | 分割点。 split point. | |
distTol | number | (Optional) 距离容差。如果不给定,则使用全局容差。 Distance tolerance. If not provided, then global tolerance will be used. |
Returns:
多段有界曲线。 如果分割点靠近当前有界曲线的起点或者终点,则返回一条克隆曲线。
Multiple segments of bounded curves. If the split point is close to start or end point, a cloned bounded curve will be returned.