intersections

fun intersections(a: Segment2D, b: Segment2D, vertexThreshold: Double = 1.0E-5): List<SegmentIntersection>(source)

Calculates a List of all points where two Segment2Ds intersect.


Calculates a List of all points of where a Segment2D and a ShapeContour intersect.


Calculates a List of all points of where a Segment2D and a Shape intersect.


fun intersections(a: ShapeContour, b: ShapeContour, vertexThreshold: Double = 1.0E-5): List<ContourIntersection>(source)

Calculates a List of all points of where paths intersect between two ShapeContours.


Calculates a List of all points of where paths intersect between the two Shapes.


Calculates a List of all intersections between the ShapeContour and a Segment2D.


Calculates a List of all intersections between the ShapeContour and another ShapeContour.


Calculates a List of all intersections between the ShapeContour and a Shape.


Calculates a List of all points where two Shapes intersect.


Calculates a List of all points where the Shape and a ShapeContour intersect.


Calculates a List of all points where the Shape and a Segment2D intersect.