CurveCurve Class
CurveCurve has static method for various computations that work on a pair of curves or curve collections.
Methods
| Name | Description | |
|---|---|---|
| constructor(): CurveCurve | ||
| allIntersectionsAmongPrimitivesXY(primitives: CurvePrimitive[], tolerance: numberGeometry.smallMetricDistance): CurveLocationDetailPair[] Static | Return xy intersections of input curves. | |
| closeApproachProjectedXYPairs(curveA: AnyCurve, curveB: AnyCurve, maxDistance: number): CurveLocationDetailPair[] Static | Return at least one XY close approach between 2 curves. | |
| closestApproachProjectedXYPair(curveA: AnyCurve, curveB: AnyCurve): undefined | CurveLocationDetailPair Static | Convenience method that calls closeApproachProjectedXYPairs with a large maxDistance | |
| intersectionProjectedXYPairs(worldToLocal: Matrix4d, curveA: AnyCurve, extendA: boolean, curveB: AnyCurve, extendB: boolean, tolerance: numberGeometry.smallMetricDistance): CurveLocationDetailPair[] Static | Return xy intersections of 2 projected curves. | |
| intersectionXYPairs(curveA: AnyCurve, extendA: boolean, curveB: AnyCurve, extendB: boolean, tolerance: numberGeometry.smallMetricDistance): CurveLocationDetailPair[] Static | Return xy intersections of 2 curves. | |
| intersectionXYZPairs(curveA: AnyCurve, extendA: boolean, curveB: AnyCurve, extendB: boolean): CurveLocationDetailPair[] Static | Return full 3d xyz intersections of 2 curves. | 
Defined in
- curve/CurveCurve.ts Line 22
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.