/** @packageDocumentation * @module Curve */ import { PlaneAltitudeEvaluator } from "../../Geometry"; import { IStrokeHandler } from "../../geometry3d/GeometryHandler"; import { Point3d, Vector3d } from "../../geometry3d/Point3dVector3d"; import { NewtonRtoRStrokeHandler } from "../../numerics/Newton"; import { CurveLocationDetail } from "../CurveLocationDetail"; import { CurvePrimitive } from "../CurvePrimitive"; /** * Context for computing intersections of a CurvePrimitive with a plane. * @internal */ export declare class AppendPlaneIntersectionStrokeHandler extends NewtonRtoRStrokeHandler implements IStrokeHandler { private _curve; private _plane; private _intersections; private _fractionA; private _functionA; private _functionB; private _fractionB; private _derivativeB; private _numThisCurve; private _ray; private _newtonSolver; effectiveCurve(): CurvePrimitive | undefined; get getDerivativeB(): number; constructor(plane: PlaneAltitudeEvaluator, intersections: CurveLocationDetail[]); startCurvePrimitive(curve: CurvePrimitive | undefined): void; endCurvePrimitive(): void; announceIntervalForUniformStepStrokes(cp: CurvePrimitive, numStrokes: number, fraction0: number, fraction1: number): void; announceSegmentInterval(_cp: CurvePrimitive, point0: Point3d, point1: Point3d, _numStrokes: number, fraction0: number, fraction1: number): void; private announceSolutionFraction; evaluate(fraction: number): boolean; /** * * ASSUME both the "A" and "B" evaluations (fraction, function, and derivative) are known. * * If function value changed sign between, interpolate an approximate root and improve it with the newton solver. */ private searchInterval; /** Evaluate and save _functionB, _derivativeB, and _fractionB. */ private evaluateB; /** * Announce point and tangent for evaluations. * * The function evaluation is saved as the "B" function point. * * The function point count is incremented * * If function point count is greater than 1, the current interval is searched. * * The just-evaluated point ("B") is saved as the "old" ("A") evaluation point. * @param xyz * @param fraction * @param tangent */ announcePointTangent(xyz: Point3d, fraction: number, tangent: Vector3d): void; } //# sourceMappingURL=AppendPlaneIntersectionStrokeHandler.d.ts.map