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: number = Geometry.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 CurveCurve.closeApproachProjectedXYPairs with a large maxDistance  
intersectionProjectedXYPairs(worldToLocal: undefined | Matrix4d, curveA: AnyCurve, extendA: boolean, curveB: AnyCurve, extendB: boolean, tolerance: number = Geometry.smallMetricDistance): CurveLocationDetailPair[] Static Return xy intersections of 2 projected curves.  
intersectionXYPairs(curveA: AnyCurve, extendA: boolean, curveB: AnyCurve, extendB: boolean, tolerance: number = Geometry.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

Last Updated: 19 April, 2024