intersections

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

Calculates a List of all points where two Segments intersect.


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


Calculates a List of all points of where a Segment 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 Segment.


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 Segment intersect.