Solid.findSelfIntersections()
July 1, 2026 ยท View on GitHub
Detects triangle-triangle self intersections without mutating authored geometry.
Usage
const intersections = solid.findSelfIntersections({
includeCoplanar: true,
maxIntersections: 100
});
Signature
solid.findSelfIntersections(options = {})
Options
tolerance(number, optional) - Model tolerance override used for intersection detection.includePointContacts(boolean, defaulttrue) - Include point-contact intersections.includeCoplanar(boolean, defaulttrue) - Include coplanar triangle interactions.maxIntersections(number, default0) - Maximum records to collect.0means no explicit limit.
Returns
object[] - Intersection records from the same detection engine used by splitSelfIntersectingTriangles().
Behavior
This is a detection wrapper around splitSelfIntersectingTriangles() with detectOnly and returnIntersections enabled.