
This design calculates the intersection point of a curve with another piece of geometry. If the curve intersects the geometry at multiple points, other parameters are used to determine which point to use as the result.
PointMixin
InkDrawableMixin
RenderMixin
AssemblyMixin
BaseDesign
| Name | Type | Description |
|---|---|---|
| curve | part | Curve part used to intersect other geometry. The input curve part must mix in the CurveMixin design. |
| intersecting | part | Geometric part that intersects with the curve part. |
| Name | Type | Description |
|---|---|---|
| closestAlong | part | Ray used to determine the intersection from the list of intersections. The intersection will be the point in the list nearest to the input ray's origin that is along its direction vector. The input part must answer both the start and direction message. |
| farthestAlong | part | Ray used to determine the intersection from the list of intersections. The intersection will be the point in the list furthest to the input ray's origin that is along its direction vector. The input part must answer both the start and direction message. |
| closestTo | any | Chooses the intersection from the list of intersections that is nearest to the input point, curve, surface, solid, plane, or face. |
| farthestFrom | any | Chooses the intersection from the list of intersections that is furthest from the input point, curve, surface, solid, plane, or face. |
| Name | Type | Description |
|---|---|---|
| origin | point | Location of the calculated intersection point. |
| intersections | list | List of intersection information. At each point where the curve intersects with the intersecting geometry, there is a list of the intersection point, the curve parameter at the intersection, and the parameter on the intersecting part at the intersection. |
| curveParameters | list | This is a list of all the curve parameters at the points that the curve intersected the intersecting part. |
| interParameters | list | This is a list of all the parameters on the intersecting part where the curve intersected. |
| intersectionPoints | list | This is a list of all the points where the curve intersected the intersecting part. |
<<curve intersecting>> If only the curve and intersecting parts are input, this chooses the first in the list of intersectionPoints as the origin.
<<curve intersecting closestTo>> Uses the value of the closestTo parameter to determine which point in the list of intersectionPoints to use as the origin.
<<curve intersecting closestAlong>> Uses the value of the closestAlong parameter to determine which point in the list of intersectionPoints to use as the origin.
<<curve intersecting farthestFrom>> Uses the value of the farthestFrom parameter to determine which point in the list of intersectionPoints to use as the origin.
<<curve intersecting farthestAlong>> Uses the value of the farthestAlong parameter to determine which point in the list of intersectionPoints to use as the origin.

| Name: | intersectionPoint_Ex01 |
| Design: | Curves AcDrawingDocument |
| Child Name: | Line_1 | |
| Child Design: | :Line | |
| Name | Type | Supplied |
| thruPoint1 | point | Point(0, 0, 0) |
| thruPoint2 | point | Point(3, 1, 0) |
| Child Name: | Arc_1 | |
| Child Design: | :Arc | |
| Name | Type | Supplied |
| radius | number | 1 |
| endAngle | number | 270 |
| center | point | Point(2, 0, 0) |
| color | string | "jungle green" |
| Child Name: | intersectionPoint_1 | |
| Child Design: | :IntersectionPoint | |
| Name | Type | Supplied |
| curve | part | Line_1 |
| intersecting | part | Arc_1 |
| color | string | "blue" |