• Finds intersection points between two sets of curve primitives.

    extendA / extendB correspond to ObjectARX AcDb::Intersect flags for the two operands. A primitive is only extended when extendable is not false. Overlapping coincident curves do not produce a continuum of points.

    When projPlane is provided, both operands are projected onto that plane first (apparent intersection). Result points lie on the plane.

    Parameters

    • a: readonly AcGeIntersectPrimitive[]

      Primitives from the first operand

    • b: readonly AcGeIntersectPrimitive[]

      Primitives from the second operand

    • extendA: boolean = false

      Extend the first operand when its primitives allow it

    • extendB: boolean = false

      Extend the second operand when its primitives allow it

    • OptionalprojPlane: AcGePlane

      Optional projection plane for apparent intersection

    Returns AcGePoint3d[]

    Intersection points in WCS, de-duplicated by the equal-point tolerance