Returns a list of intersection points between two curves. The part inputs must mix in the CurveMixin design. The order of the points is the order they are encountered on curve1, if traversed from its startPoint to its endPoint.
intCurveCurve ( curve1 As Part, _
curve2 As Part ) As List
| Argument | Type | Description |
|---|---|---|
| curve1 | part | |
| curve2 | part |
Intent >intCurveCurve(makePart({:design, :line, :thruPoint1, point(0,0,0), :thruPoint2, point(1,1,0)}), makePart({:design, :line, :thruPoint1, point(0,1,0), :thruPoint2, point(1,0,0)}))
--> {Point_(0.5, 0.5, 0.0, WorldFrame())}
Intent >intCurveCurve(curve1, curve2)
--> {Point_(0.319, -0.294, 0.0, WorldFrame()), Point_(0.181, -0.294, 0.0, WorldFrame()), Point_(0.681, -0.294, 0.0, WorldFrame())}