intersections

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

Calculates a List of all points where two Segments intersect.


fun Segment.intersections(other: ShapeContour): List<ContourIntersection>

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


fun Segment.intersections(other: Shape): List<ContourIntersection>

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>

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


fun intersections(a: Shape, b: Shape): List<ContourIntersection>

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


fun ShapeContour.intersections(other: Segment): List<ContourIntersection>

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


fun ShapeContour.intersections(other: ShapeContour): List<ContourIntersection>

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


fun ShapeContour.intersections(other: Shape): List<ContourIntersection>

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


fun Shape.intersections(other: Shape): List<ContourIntersection>

Calculates a List of all points where two Shapes intersect.


fun Shape.intersections(other: ShapeContour): List<ContourIntersection>

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


fun Shape.intersections(other: Segment): List<ContourIntersection>

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

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard