intCurveCurve()

Synopsis

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.

Syntax

intCurveCurve ( curve1 As Part, _
                curve2 As Part ) As List 
Argument Type Description
curve1 part  
curve2 part  

Example 1

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())} 

Example 2

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())}