@itwin/core-geometry 4.10.0-dev.8 → 5.0.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -1
- package/lib/cjs/Geometry.js +2 -2
- package/lib/cjs/Geometry.js.map +1 -1
- package/lib/cjs/bspline/BSpline1dNd.d.ts.map +1 -1
- package/lib/cjs/bspline/BSpline1dNd.js +0 -1
- package/lib/cjs/bspline/BSpline1dNd.js.map +1 -1
- package/lib/cjs/bspline/BSplineCurve.d.ts +5 -3
- package/lib/cjs/bspline/BSplineCurve.d.ts.map +1 -1
- package/lib/cjs/bspline/BSplineCurve.js +5 -4
- package/lib/cjs/bspline/BSplineCurve.js.map +1 -1
- package/lib/cjs/clipping/ClipVector.js +1 -1
- package/lib/cjs/clipping/ClipVector.js.map +1 -1
- package/lib/cjs/core-geometry.d.ts +1 -1
- package/lib/cjs/core-geometry.d.ts.map +1 -1
- package/lib/cjs/core-geometry.js +1 -1
- package/lib/cjs/core-geometry.js.map +1 -1
- package/lib/cjs/curve/Arc3d.d.ts +136 -128
- package/lib/cjs/curve/Arc3d.d.ts.map +1 -1
- package/lib/cjs/curve/Arc3d.js +177 -152
- package/lib/cjs/curve/Arc3d.js.map +1 -1
- package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts +7 -5
- package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
- package/lib/cjs/curve/CurveChainWithDistanceIndex.js +9 -7
- package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -1
- package/lib/cjs/curve/CurveCollection.d.ts +21 -2
- package/lib/cjs/curve/CurveCollection.d.ts.map +1 -1
- package/lib/cjs/curve/CurveCollection.js +45 -10
- package/lib/cjs/curve/CurveCollection.js.map +1 -1
- package/lib/cjs/curve/CurveExtendMode.d.ts +18 -15
- package/lib/cjs/curve/CurveExtendMode.d.ts.map +1 -1
- package/lib/cjs/curve/CurveExtendMode.js +18 -17
- package/lib/cjs/curve/CurveExtendMode.js.map +1 -1
- package/lib/cjs/curve/CurveFactory.d.ts +11 -13
- package/lib/cjs/curve/CurveFactory.d.ts.map +1 -1
- package/lib/cjs/curve/CurveFactory.js +19 -46
- package/lib/cjs/curve/CurveFactory.js.map +1 -1
- package/lib/cjs/curve/CurvePrimitive.d.ts +9 -5
- package/lib/cjs/curve/CurvePrimitive.d.ts.map +1 -1
- package/lib/cjs/curve/CurvePrimitive.js +9 -5
- package/lib/cjs/curve/CurvePrimitive.js.map +1 -1
- package/lib/cjs/curve/CurveProcessor.d.ts.map +1 -1
- package/lib/cjs/curve/CurveProcessor.js +0 -1
- package/lib/cjs/curve/CurveProcessor.js.map +1 -1
- package/lib/cjs/curve/LineSegment3d.d.ts.map +1 -1
- package/lib/cjs/curve/LineSegment3d.js +2 -3
- package/lib/cjs/curve/LineSegment3d.js.map +1 -1
- package/lib/cjs/curve/LineString3d.d.ts.map +1 -1
- package/lib/cjs/curve/OffsetOptions.d.ts.map +1 -1
- package/lib/cjs/curve/OffsetOptions.js +4 -4
- package/lib/cjs/curve/OffsetOptions.js.map +1 -1
- package/lib/cjs/curve/Path.d.ts +14 -0
- package/lib/cjs/curve/Path.d.ts.map +1 -1
- package/lib/cjs/curve/Path.js +27 -0
- package/lib/cjs/curve/Path.js.map +1 -1
- package/lib/cjs/curve/PointString3d.d.ts.map +1 -1
- package/lib/cjs/curve/PointString3d.js +0 -1
- package/lib/cjs/curve/PointString3d.js.map +1 -1
- package/lib/cjs/curve/StrokeOptions.d.ts.map +1 -1
- package/lib/cjs/curve/StrokeOptions.js +0 -1
- package/lib/cjs/curve/StrokeOptions.js.map +1 -1
- package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -1
- package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js +5 -6
- package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
- package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
- package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js +10 -10
- package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
- package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.d.ts.map +1 -1
- package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.js +4 -4
- package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
- package/lib/cjs/curve/internalContexts/EllipticalArcApproximationContext.d.ts +18 -18
- package/lib/cjs/curve/internalContexts/EllipticalArcApproximationContext.d.ts.map +1 -1
- package/lib/cjs/curve/internalContexts/EllipticalArcApproximationContext.js +46 -42
- package/lib/cjs/curve/internalContexts/EllipticalArcApproximationContext.js.map +1 -1
- package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js +5 -4
- package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
- package/lib/cjs/geometry3d/AngleSweep.d.ts +10 -6
- package/lib/cjs/geometry3d/AngleSweep.d.ts.map +1 -1
- package/lib/cjs/geometry3d/AngleSweep.js +15 -12
- package/lib/cjs/geometry3d/AngleSweep.js.map +1 -1
- package/lib/cjs/geometry3d/BilinearPatch.js +4 -4
- package/lib/cjs/geometry3d/BilinearPatch.js.map +1 -1
- package/lib/cjs/geometry3d/FrameBuilder.d.ts.map +1 -1
- package/lib/cjs/geometry3d/FrameBuilder.js +0 -1
- package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -1
- package/lib/cjs/geometry3d/IndexedXYCollection.d.ts.map +1 -1
- package/lib/cjs/geometry3d/IndexedXYCollection.js.map +1 -1
- package/lib/cjs/geometry3d/Matrix3d.d.ts +28 -17
- package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -1
- package/lib/cjs/geometry3d/Matrix3d.js +36 -17
- package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
- package/lib/cjs/geometry3d/Point2dArrayCarrier.d.ts.map +1 -1
- package/lib/cjs/geometry3d/Point2dArrayCarrier.js +2 -3
- package/lib/cjs/geometry3d/Point2dArrayCarrier.js.map +1 -1
- package/lib/cjs/geometry3d/Point3dVector3d.d.ts +6 -5
- package/lib/cjs/geometry3d/Point3dVector3d.d.ts.map +1 -1
- package/lib/cjs/geometry3d/Point3dVector3d.js +6 -5
- package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
- package/lib/cjs/geometry3d/PointHelpers.d.ts.map +1 -1
- package/lib/cjs/geometry3d/PointHelpers.js +0 -1
- package/lib/cjs/geometry3d/PointHelpers.js.map +1 -1
- package/lib/cjs/geometry3d/PolygonOps.d.ts.map +1 -1
- package/lib/cjs/geometry3d/PolygonOps.js +2 -4
- package/lib/cjs/geometry3d/PolygonOps.js.map +1 -1
- package/lib/cjs/geometry3d/Ray3d.js +2 -2
- package/lib/cjs/geometry3d/Ray3d.js.map +1 -1
- package/lib/cjs/geometry3d/YawPitchRollAngles.d.ts.map +1 -1
- package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -1
- package/lib/cjs/geometry4d/Map4d.d.ts +5 -5
- package/lib/cjs/geometry4d/Map4d.js +5 -5
- package/lib/cjs/geometry4d/Map4d.js.map +1 -1
- package/lib/cjs/geometry4d/Matrix4d.d.ts +4 -7
- package/lib/cjs/geometry4d/Matrix4d.d.ts.map +1 -1
- package/lib/cjs/geometry4d/Matrix4d.js +4 -7
- package/lib/cjs/geometry4d/Matrix4d.js.map +1 -1
- package/lib/cjs/geometry4d/Point4d.d.ts.map +1 -1
- package/lib/cjs/geometry4d/Point4d.js +2 -1
- package/lib/cjs/geometry4d/Point4d.js.map +1 -1
- package/lib/cjs/numerics/BezierPolynomials.d.ts.map +1 -1
- package/lib/cjs/numerics/BezierPolynomials.js +0 -1
- package/lib/cjs/numerics/BezierPolynomials.js.map +1 -1
- package/lib/cjs/numerics/Newton.d.ts +3 -0
- package/lib/cjs/numerics/Newton.d.ts.map +1 -1
- package/lib/cjs/numerics/Newton.js +2 -5
- package/lib/cjs/numerics/Newton.js.map +1 -1
- package/lib/cjs/numerics/Polynomials.d.ts +46 -201
- package/lib/cjs/numerics/Polynomials.d.ts.map +1 -1
- package/lib/cjs/numerics/Polynomials.js +132 -445
- package/lib/cjs/numerics/Polynomials.js.map +1 -1
- package/lib/cjs/numerics/Range1dArray.js +2 -2
- package/lib/cjs/numerics/Range1dArray.js.map +1 -1
- package/lib/cjs/numerics/SmallSystem.d.ts +164 -0
- package/lib/cjs/numerics/SmallSystem.d.ts.map +1 -0
- package/lib/cjs/numerics/SmallSystem.js +321 -0
- package/lib/cjs/numerics/SmallSystem.js.map +1 -0
- package/lib/cjs/polyface/AuxData.d.ts.map +1 -1
- package/lib/cjs/polyface/AuxData.js.map +1 -1
- package/lib/cjs/polyface/IndexedPolyfaceVisitor.d.ts.map +1 -1
- package/lib/cjs/polyface/IndexedPolyfaceVisitor.js +0 -1
- package/lib/cjs/polyface/IndexedPolyfaceVisitor.js.map +1 -1
- package/lib/cjs/polyface/Polyface.d.ts +2 -2
- package/lib/cjs/polyface/Polyface.d.ts.map +1 -1
- package/lib/cjs/polyface/Polyface.js +0 -1
- package/lib/cjs/polyface/Polyface.js.map +1 -1
- package/lib/cjs/polyface/PolyfaceBuilder.js +1 -1
- package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
- package/lib/cjs/polyface/PolyfaceClip.d.ts +3 -3
- package/lib/cjs/polyface/PolyfaceClip.d.ts.map +1 -1
- package/lib/cjs/polyface/PolyfaceClip.js +1 -2
- package/lib/cjs/polyface/PolyfaceClip.js.map +1 -1
- package/lib/cjs/polyface/PolyfaceQuery.d.ts.map +1 -1
- package/lib/cjs/polyface/PolyfaceQuery.js +0 -1
- package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
- package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
- package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
- package/lib/cjs/polyface/multiclip/OffsetMeshContext.d.ts +1 -1
- package/lib/cjs/polyface/multiclip/OffsetMeshContext.d.ts.map +1 -1
- package/lib/cjs/polyface/multiclip/OffsetMeshContext.js +7 -7
- package/lib/cjs/polyface/multiclip/OffsetMeshContext.js.map +1 -1
- package/lib/cjs/serialization/DeepCompare.d.ts.map +1 -1
- package/lib/cjs/serialization/DeepCompare.js +0 -1
- package/lib/cjs/serialization/DeepCompare.js.map +1 -1
- package/lib/cjs/topology/Graph.d.ts.map +1 -1
- package/lib/cjs/topology/Graph.js +2 -2
- package/lib/cjs/topology/Graph.js.map +1 -1
- package/lib/cjs/topology/InsertAndRetriangulateContext.js +2 -2
- package/lib/cjs/topology/InsertAndRetriangulateContext.js.map +1 -1
- package/lib/cjs/topology/Merging.d.ts +1 -1
- package/lib/cjs/topology/Merging.d.ts.map +1 -1
- package/lib/cjs/topology/Merging.js +2 -2
- package/lib/cjs/topology/Merging.js.map +1 -1
- package/lib/esm/Geometry.js +2 -2
- package/lib/esm/Geometry.js.map +1 -1
- package/lib/esm/bspline/BSpline1dNd.d.ts.map +1 -1
- package/lib/esm/bspline/BSpline1dNd.js +0 -1
- package/lib/esm/bspline/BSpline1dNd.js.map +1 -1
- package/lib/esm/bspline/BSplineCurve.d.ts +5 -3
- package/lib/esm/bspline/BSplineCurve.d.ts.map +1 -1
- package/lib/esm/bspline/BSplineCurve.js +5 -4
- package/lib/esm/bspline/BSplineCurve.js.map +1 -1
- package/lib/esm/clipping/ClipVector.js +1 -1
- package/lib/esm/clipping/ClipVector.js.map +1 -1
- package/lib/esm/core-geometry.d.ts +1 -1
- package/lib/esm/core-geometry.d.ts.map +1 -1
- package/lib/esm/core-geometry.js +1 -1
- package/lib/esm/core-geometry.js.map +1 -1
- package/lib/esm/curve/Arc3d.d.ts +136 -128
- package/lib/esm/curve/Arc3d.d.ts.map +1 -1
- package/lib/esm/curve/Arc3d.js +177 -152
- package/lib/esm/curve/Arc3d.js.map +1 -1
- package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts +7 -5
- package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
- package/lib/esm/curve/CurveChainWithDistanceIndex.js +9 -7
- package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -1
- package/lib/esm/curve/CurveCollection.d.ts +21 -2
- package/lib/esm/curve/CurveCollection.d.ts.map +1 -1
- package/lib/esm/curve/CurveCollection.js +45 -10
- package/lib/esm/curve/CurveCollection.js.map +1 -1
- package/lib/esm/curve/CurveExtendMode.d.ts +18 -15
- package/lib/esm/curve/CurveExtendMode.d.ts.map +1 -1
- package/lib/esm/curve/CurveExtendMode.js +18 -17
- package/lib/esm/curve/CurveExtendMode.js.map +1 -1
- package/lib/esm/curve/CurveFactory.d.ts +11 -13
- package/lib/esm/curve/CurveFactory.d.ts.map +1 -1
- package/lib/esm/curve/CurveFactory.js +17 -44
- package/lib/esm/curve/CurveFactory.js.map +1 -1
- package/lib/esm/curve/CurvePrimitive.d.ts +9 -5
- package/lib/esm/curve/CurvePrimitive.d.ts.map +1 -1
- package/lib/esm/curve/CurvePrimitive.js +9 -5
- package/lib/esm/curve/CurvePrimitive.js.map +1 -1
- package/lib/esm/curve/CurveProcessor.d.ts.map +1 -1
- package/lib/esm/curve/CurveProcessor.js +0 -1
- package/lib/esm/curve/CurveProcessor.js.map +1 -1
- package/lib/esm/curve/LineSegment3d.d.ts.map +1 -1
- package/lib/esm/curve/LineSegment3d.js +1 -2
- package/lib/esm/curve/LineSegment3d.js.map +1 -1
- package/lib/esm/curve/LineString3d.d.ts.map +1 -1
- package/lib/esm/curve/OffsetOptions.d.ts.map +1 -1
- package/lib/esm/curve/OffsetOptions.js +4 -4
- package/lib/esm/curve/OffsetOptions.js.map +1 -1
- package/lib/esm/curve/Path.d.ts +14 -0
- package/lib/esm/curve/Path.d.ts.map +1 -1
- package/lib/esm/curve/Path.js +27 -0
- package/lib/esm/curve/Path.js.map +1 -1
- package/lib/esm/curve/PointString3d.d.ts.map +1 -1
- package/lib/esm/curve/PointString3d.js +0 -1
- package/lib/esm/curve/PointString3d.js.map +1 -1
- package/lib/esm/curve/StrokeOptions.d.ts.map +1 -1
- package/lib/esm/curve/StrokeOptions.js +0 -1
- package/lib/esm/curve/StrokeOptions.js.map +1 -1
- package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -1
- package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js +4 -5
- package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
- package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
- package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js +5 -5
- package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
- package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.d.ts.map +1 -1
- package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js +3 -3
- package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
- package/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.d.ts +18 -18
- package/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.d.ts.map +1 -1
- package/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.js +46 -42
- package/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.js.map +1 -1
- package/lib/esm/curve/internalContexts/PolygonOffsetContext.js +5 -4
- package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
- package/lib/esm/geometry3d/AngleSweep.d.ts +10 -6
- package/lib/esm/geometry3d/AngleSweep.d.ts.map +1 -1
- package/lib/esm/geometry3d/AngleSweep.js +15 -12
- package/lib/esm/geometry3d/AngleSweep.js.map +1 -1
- package/lib/esm/geometry3d/BilinearPatch.js +1 -1
- package/lib/esm/geometry3d/BilinearPatch.js.map +1 -1
- package/lib/esm/geometry3d/FrameBuilder.d.ts.map +1 -1
- package/lib/esm/geometry3d/FrameBuilder.js +0 -1
- package/lib/esm/geometry3d/FrameBuilder.js.map +1 -1
- package/lib/esm/geometry3d/IndexedXYCollection.d.ts.map +1 -1
- package/lib/esm/geometry3d/IndexedXYCollection.js.map +1 -1
- package/lib/esm/geometry3d/Matrix3d.d.ts +28 -17
- package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -1
- package/lib/esm/geometry3d/Matrix3d.js +36 -17
- package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
- package/lib/esm/geometry3d/Point2dArrayCarrier.d.ts.map +1 -1
- package/lib/esm/geometry3d/Point2dArrayCarrier.js +0 -1
- package/lib/esm/geometry3d/Point2dArrayCarrier.js.map +1 -1
- package/lib/esm/geometry3d/Point3dVector3d.d.ts +6 -5
- package/lib/esm/geometry3d/Point3dVector3d.d.ts.map +1 -1
- package/lib/esm/geometry3d/Point3dVector3d.js +6 -5
- package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
- package/lib/esm/geometry3d/PointHelpers.d.ts.map +1 -1
- package/lib/esm/geometry3d/PointHelpers.js +0 -1
- package/lib/esm/geometry3d/PointHelpers.js.map +1 -1
- package/lib/esm/geometry3d/PolygonOps.d.ts.map +1 -1
- package/lib/esm/geometry3d/PolygonOps.js +2 -4
- package/lib/esm/geometry3d/PolygonOps.js.map +1 -1
- package/lib/esm/geometry3d/Ray3d.js +1 -1
- package/lib/esm/geometry3d/Ray3d.js.map +1 -1
- package/lib/esm/geometry3d/YawPitchRollAngles.d.ts.map +1 -1
- package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -1
- package/lib/esm/geometry4d/Map4d.d.ts +5 -5
- package/lib/esm/geometry4d/Map4d.js +5 -5
- package/lib/esm/geometry4d/Map4d.js.map +1 -1
- package/lib/esm/geometry4d/Matrix4d.d.ts +4 -7
- package/lib/esm/geometry4d/Matrix4d.d.ts.map +1 -1
- package/lib/esm/geometry4d/Matrix4d.js +4 -7
- package/lib/esm/geometry4d/Matrix4d.js.map +1 -1
- package/lib/esm/geometry4d/Point4d.d.ts.map +1 -1
- package/lib/esm/geometry4d/Point4d.js +2 -1
- package/lib/esm/geometry4d/Point4d.js.map +1 -1
- package/lib/esm/numerics/BezierPolynomials.d.ts.map +1 -1
- package/lib/esm/numerics/BezierPolynomials.js +0 -1
- package/lib/esm/numerics/BezierPolynomials.js.map +1 -1
- package/lib/esm/numerics/Newton.d.ts +3 -0
- package/lib/esm/numerics/Newton.d.ts.map +1 -1
- package/lib/esm/numerics/Newton.js +1 -4
- package/lib/esm/numerics/Newton.js.map +1 -1
- package/lib/esm/numerics/Polynomials.d.ts +46 -201
- package/lib/esm/numerics/Polynomials.d.ts.map +1 -1
- package/lib/esm/numerics/Polynomials.js +132 -444
- package/lib/esm/numerics/Polynomials.js.map +1 -1
- package/lib/esm/numerics/SmallSystem.d.ts +164 -0
- package/lib/esm/numerics/SmallSystem.d.ts.map +1 -0
- package/lib/esm/numerics/SmallSystem.js +317 -0
- package/lib/esm/numerics/SmallSystem.js.map +1 -0
- package/lib/esm/polyface/AuxData.d.ts.map +1 -1
- package/lib/esm/polyface/AuxData.js.map +1 -1
- package/lib/esm/polyface/IndexedPolyfaceVisitor.d.ts.map +1 -1
- package/lib/esm/polyface/IndexedPolyfaceVisitor.js +0 -1
- package/lib/esm/polyface/IndexedPolyfaceVisitor.js.map +1 -1
- package/lib/esm/polyface/Polyface.d.ts +2 -2
- package/lib/esm/polyface/Polyface.d.ts.map +1 -1
- package/lib/esm/polyface/Polyface.js +0 -1
- package/lib/esm/polyface/Polyface.js.map +1 -1
- package/lib/esm/polyface/PolyfaceBuilder.js +1 -1
- package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
- package/lib/esm/polyface/PolyfaceClip.d.ts +3 -3
- package/lib/esm/polyface/PolyfaceClip.d.ts.map +1 -1
- package/lib/esm/polyface/PolyfaceClip.js +1 -2
- package/lib/esm/polyface/PolyfaceClip.js.map +1 -1
- package/lib/esm/polyface/PolyfaceQuery.d.ts.map +1 -1
- package/lib/esm/polyface/PolyfaceQuery.js +0 -1
- package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
- package/lib/esm/polyface/multiclip/OffsetMeshContext.d.ts +1 -1
- package/lib/esm/polyface/multiclip/OffsetMeshContext.d.ts.map +1 -1
- package/lib/esm/polyface/multiclip/OffsetMeshContext.js +4 -4
- package/lib/esm/polyface/multiclip/OffsetMeshContext.js.map +1 -1
- package/lib/esm/serialization/DeepCompare.d.ts.map +1 -1
- package/lib/esm/serialization/DeepCompare.js +0 -1
- package/lib/esm/serialization/DeepCompare.js.map +1 -1
- package/lib/esm/topology/Graph.d.ts.map +1 -1
- package/lib/esm/topology/Graph.js +1 -1
- package/lib/esm/topology/Graph.js.map +1 -1
- package/lib/esm/topology/InsertAndRetriangulateContext.js +1 -1
- package/lib/esm/topology/InsertAndRetriangulateContext.js.map +1 -1
- package/lib/esm/topology/Merging.d.ts +1 -1
- package/lib/esm/topology/Merging.d.ts.map +1 -1
- package/lib/esm/topology/Merging.js +1 -1
- package/lib/esm/topology/Merging.js.map +1 -1
- package/package.json +11 -23
package/lib/cjs/core-geometry.js
CHANGED
|
@@ -190,9 +190,9 @@ __exportStar(require("./numerics/ClusterableArray"), exports);
|
|
|
190
190
|
__exportStar(require("./numerics/Complex"), exports);
|
|
191
191
|
__exportStar(require("./numerics/ConvexPolygon2d"), exports);
|
|
192
192
|
__exportStar(require("./numerics/PascalCoefficients"), exports);
|
|
193
|
-
__exportStar(require("./numerics/Polynomials"), exports);
|
|
194
193
|
__exportStar(require("./numerics/Quadrature"), exports);
|
|
195
194
|
__exportStar(require("./numerics/Range1dArray"), exports);
|
|
195
|
+
__exportStar(require("./numerics/SmallSystem"), exports);
|
|
196
196
|
__exportStar(require("./numerics/TriDiagonalSystem"), exports);
|
|
197
197
|
__exportStar(require("./curve/Arc3d"), exports);
|
|
198
198
|
__exportStar(require("./curve/ConstructCurveBetweenCurves"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-geometry.js","sourceRoot":"","sources":["../../src/core-geometry.ts"],"names":[],"mappings":"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","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\n/** @packageDocumentation\r\n * @module Utility\r\n */\r\n\r\n// REMARK:\r\n// The docs-group-description comments are followed by empty classes with names corresponding to the doc-group.\r\n// Normally (in committed code) these are commented out.\r\n// The comments have distinctive strings so that simple search and replace can make the \"real\".\r\n// This is useful when working on the documentation: When the empty classes are present, VSCode will format the doc comments\r\n// for and display them when the mouse hovers over the class name.\r\n\r\n/**\r\n * @docs-package-description\r\n * The core-geometry package contains classes for working with geometry: points, vectors, curves, surfaces, and analytic solids\r\n */\r\n/**\r\n * @docs-group-description CartesianGeometry\r\n * Points, Vectors, Planes, and Transformations for x,y,z geometry.\r\n * * Fundamental cartesian geometry objects:\r\n * * Point2d, Point3d -- points with x,y,z coordinates\r\n * * Vector2d, Vector3d -- vectors with x,y,z coordinates\r\n * * Matrix3d -- 3x3 matrix\r\n * * * commonly used for pure rotations\r\n * * * scale and skew entries are also allowed.\r\n * * Transform -- an origin and axes.\r\n * * Range1d, Range2d, Range3d -- subsets of 1d, 2d, and 3d space bounded by low and high values.\r\n * * Ray3d -- a ray defined by origin and direction vector\r\n * * Plane3d -- an abstract base class extended by Plane3dByOriginAndNormal, Plane3dByOriginAndUnitNormal, Point4d, and ClipPlane\r\n * * Plane3dByOriginAndUnitNormal -- a plane defined by an origin and a single vector which is perpendicular to the plane\r\n * * plane3dByOriginAndVectors -- a plane defined by an origin and two vectors in the plane.\r\n * * Angles\r\n * * Angle -- a strongly typed angle object whose method names make it clear whether input and outputs are degrees or radians.\r\n * * AngleSweep -- an angular interval\r\n * * LatitudeLongitudeNumber -- carrier for position and altitude on sphere or ellipsoid\r\n * * YawPitchAndRollAngles -- 3 angles that define a rotated coordinate system.\r\n * * Utility classes\r\n * * FrameBuilder -- construction of coordinate frames from mixed data sources.\r\n * * ClipPlane -- a single plane\r\n * * ConvexClipPlaneSet -- an array of planes bounding a convex volume\r\n * * ClipPlaneSet -- an array of ConvexClipPlaneSet, defining the union of their volumes\r\n * * BilinearPatch -- twisted quadrilateral defined by 4 points\r\n * * BarycentricTriangle -- triangle defined by 3 points.\r\n * * Constant -- various numeric values exported as readonly constants\r\n */\r\n// doc:export class CartesianGeometryDoc { }\r\n/**\r\n * @docs-group-description ArraysAndInterfaces\r\n * These classes support array operations and inheritance-based algorithms.\r\n * * Arrays\r\n * * GrowableArray -- A carrier for a Float64Array, with methods that hide reallocation of the underlying array as contents are added.\r\n * * Point2dArray, Point3dArray, Point4dArray, Vector3dArray -- miscellaneous operations on arrays of 2d and 3d points.\r\n * * Interfaces\r\n * * GeometryHandler -- a double-dispatch protocol used for efficient implementation of algorithms that work on many geometry types.\r\n *\r\n */\r\n// doc:export class ArraysAndInterfacesDoc { }\r\n\r\n/**\r\n * @docs-group-description Bspline\r\n * A bspline curve or surface is used for curved freeform geometry defined by controls points (sometimes called poles).\r\n * * BSplineCurve -- a curve defined by control points (which are not on the curve)\r\n * * InterpolationCurve -- a curve defined by passthrough points, with \"good\" visual properties\r\n * * BSplineSurfaceXYZ -- a surface with XYZ\r\n * * BsplineSurfaceXYZW -- a surface with weighted (rational) XYZ coordinates\r\n * * KnotVector -- vector of breakpoints in bspline definitions.\r\n */\r\n// doc:export class BsplineDoc { }\r\n\r\n/**\r\n * @docs-group-description Curve\r\n * Curves in the GeometryQuery hierarchy: LineSegment3d, LineString3d, Arc3d, TransitionSpiral3d\r\n * * CurvePrimitive -- base class for parametric curves\r\n * * LineSegment3d -- a (bounded) portion of an unbounded line\r\n * * Arc3d -- a circular or elliptic arc\r\n * * LineString3d -- a sequence of points joined by line segments\r\n * * TransitionSpiral -- controlled transition between curvatures\r\n * * Support classes\r\n * * PointString3d -- a sequence of isolated points\r\n * * StrokeOptions -- tolerances to describe stroking accuracy\r\n * * RecursiveCurveProcessor, RecursiveCurveProcessorWithStack -- algorithmic support for trees with CurvePrimitives at the leaf level.\r\n */\r\n// doc:export class CurveDoc { }\r\n/**\r\n * @docs-group-description Numerics\r\n * The Numerics classes have geometric and numeric methods used during large algorithms in other classes.\r\n */\r\n// doc:export class NumericsDoc { }\r\n/**\r\n * @docs-group-description Polyface\r\n * A Polyface is a mesh structure with arrays of points that are shared among multiple incident facets.\r\n */\r\n// doc:export class PolyfaceDoc { }\r\n/**\r\n * @docs-group-description Serialization\r\n * These classes are related to serialization of geometry classes.\r\n * * IModelJson.Reader, IModelJson.Writer -- Conversion of in-memory geometry objects to json objects for persistence and transmission.\r\n */\r\n// doc:export class SerializationDoc { }\r\n/**\r\n * @docs-group-description Solid\r\n * Analytic Solids in the GeometryQuery hierarchy: Box, Sphere, Cone, TorusPipe, LinearSweep, RotationalSweep, RuledSweep\r\n * * Box -- a box solid. This is usually rectangular on all faces, but can in one directly like a view frustum\r\n * * Sphere -- a sphere\r\n * * Cone -- a cone or cylinder\r\n * * TorusPipe -- a pipe elbow\r\n * * LinearSweep -- a linear sweep of a base contour\r\n * * RotationalSweep -- a rotational sweep of a base contour\r\n * * RuledSweep -- two or more similarly structured contours joined by linear rule lines.\r\n */\r\n// doc:export class SolidDOc { }\r\n/**\r\n * @docs-group-description Topology\r\n * The Topology classes provide adjacency structures used in triangulations.\r\n */\r\n// doc:export class TopologyDoc { }\r\n/**\r\n * @docs-group-description RangeSearch\r\n * Support classes for searching collections of ranges.\r\n */\r\nexport * from \"./geometry3d/Angle\";\r\nexport * from \"./geometry3d/AngleSweep\";\r\nexport * from \"./geometry3d/LongitudeLatitudeAltitude\";\r\nexport * from \"./geometry3d/BarycentricTriangle\";\r\nexport * from \"./geometry3d/BilinearPatch\";\r\nexport * from \"./geometry3d/Ellipsoid\";\r\nexport * from \"./geometry3d/FrameBuilder\";\r\nexport * from \"./geometry3d/FrustumAnimation\";\r\nexport * from \"./geometry3d/GeometryHandler\";\r\nexport * from \"./geometry3d/GrowableBlockedArray\";\r\nexport * from \"./geometry3d/GrowableFloat64Array\";\r\nexport * from \"./geometry3d/GrowableXYArray\";\r\nexport * from \"./geometry3d/GrowableXYZArray\";\r\nexport * from \"./geometry3d/IndexedCollectionInterval\";\r\nexport * from \"./geometry3d/IndexedXYCollection\";\r\nexport * from \"./geometry3d/IndexedXYZCollection\";\r\nexport * from \"./geometry3d/Matrix3d\";\r\nexport * from \"./geometry3d/OrderedRotationAngles\";\r\nexport * from \"./geometry3d/Plane3d\";\r\nexport * from \"./geometry3d/Plane3dByOriginAndUnitNormal\";\r\nexport * from \"./geometry3d/Plane3dByOriginAndVectors\";\r\nexport * from \"./geometry3d/Point2dArrayCarrier\";\r\nexport * from \"./geometry3d/Point2dVector2d\";\r\nexport * from \"./geometry3d/Point3dVector3d\";\r\nexport * from \"./geometry3d/PointHelpers\";\r\nexport * from \"./geometry3d/Point3dArrayCarrier\";\r\nexport * from \"./geometry3d/PolylineOps\";\r\nexport * from \"./geometry3d/PolygonOps\";\r\nexport * from \"./geometry3d/Range\";\r\nexport * from \"./geometry3d/Ray2d\";\r\nexport * from \"./geometry3d/Ray3d\";\r\nexport * from \"./geometry3d/Segment1d\";\r\nexport * from \"./geometry3d/Transform\";\r\nexport * from \"./geometry3d/UVSurfaceOps\";\r\nexport * from \"./geometry3d/XYZProps\";\r\nexport * from \"./geometry3d/YawPitchRollAngles\";\r\n\r\nexport * from \"./Geometry\";\r\nexport * from \"./Constant\";\r\nexport * from \"./clipping/BooleanClipFactory\";\r\nexport * from \"./clipping/ClipPlane\";\r\nexport * from \"./clipping/ConvexClipPlaneSet\";\r\nexport * from \"./clipping/UnionOfConvexClipPlaneSets\";\r\nexport * from \"./clipping/ClipPrimitive\";\r\nexport * from \"./clipping/ClipVector\";\r\nexport * from \"./clipping/ClipUtils\";\r\nexport * from \"./numerics/ConvexPolygon2d\";\r\nexport * from \"./geometry4d/PlaneByOriginAndVectors4d\";\r\nexport * from \"./geometry4d/Point4d\";\r\nexport * from \"./geometry4d/Matrix4d\";\r\nexport * from \"./geometry4d/Map4d\";\r\nexport * from \"./geometry4d/MomentData\";\r\nexport * from \"./numerics/BezierPolynomials\";\r\nexport * from \"./numerics/ClusterableArray\";\r\nexport * from \"./numerics/Complex\";\r\nexport * from \"./numerics/ConvexPolygon2d\";\r\nexport * from \"./numerics/PascalCoefficients\";\r\nexport * from \"./numerics/Polynomials\";\r\nexport * from \"./numerics/Quadrature\";\r\nexport * from \"./numerics/Range1dArray\";\r\nexport * from \"./numerics/TriDiagonalSystem\";\r\n\r\nexport * from \"./curve/Arc3d\";\r\nexport * from \"./curve/ConstructCurveBetweenCurves\";\r\nexport * from \"./curve/CoordinateXYZ\";\r\nexport * from \"./curve/CurveTypes\";\r\nexport * from \"./curve/CurveChainWithDistanceIndex\";\r\nexport * from \"./curve/CurveExtendMode\";\r\nexport * from \"./curve/CurveCollection\";\r\nexport * from \"./curve/CurveCurve\";\r\nexport * from \"./curve/CurveLocationDetail\";\r\nexport * from \"./curve/CurveFactory\";\r\nexport * from \"./curve/CurveOps\";\r\nexport * from \"./curve/CurvePrimitive\";\r\nexport * from \"./curve/CurveProcessor\";\r\nexport * from \"./curve/GeometryQuery\";\r\nexport * from \"./curve/LineSegment3d\";\r\nexport * from \"./curve/LineString3d\";\r\nexport * from \"./curve/Loop\";\r\nexport * from \"./curve/OffsetOptions\";\r\nexport * from \"./curve/ParityRegion\";\r\nexport * from \"./curve/Path\";\r\nexport * from \"./curve/RegionMomentsXY\";\r\nexport * from \"./curve/RegionOps\";\r\nexport * from \"./curve/PointString3d\";\r\nexport * from \"./curve/ProxyCurve\";\r\nexport * from \"./curve/StrokeOptions\";\r\nexport * from \"./curve/spiral/TransitionSpiral3d\";\r\nexport * from \"./curve/spiral/IntegratedSpiral3d\";\r\nexport * from \"./curve/spiral/DirectSpiral3d\";\r\nexport * from \"./curve/UnionRegion\";\r\nexport * from \"./curve/Query/StrokeCountMap\";\r\nexport * from \"./solid/Box\";\r\nexport * from \"./solid/Cone\";\r\nexport * from \"./solid/LinearSweep\";\r\nexport * from \"./solid/RotationalSweep\";\r\nexport * from \"./solid/RuledSweep\";\r\nexport * from \"./solid/SolidPrimitive\";\r\nexport * from \"./solid/Sphere\";\r\nexport * from \"./solid/SweepContour\";\r\nexport * from \"./solid/TorusPipe\";\r\nexport * from \"./bspline/AkimaCurve3d\";\r\nexport * from \"./bspline/Bezier1dNd\";\r\nexport * from \"./bspline/BezierCurveBase\";\r\nexport * from \"./bspline/BezierCurve3d\";\r\nexport * from \"./bspline/BezierCurve3dH\";\r\nexport * from \"./bspline/BSplineCurve\";\r\nexport * from \"./bspline/BSplineCurveOps\";\r\nexport * from \"./bspline/BSpline1dNd\";\r\nexport * from \"./bspline/BSplineCurve3dH\";\r\nexport * from \"./bspline/BSplineSurface\";\r\nexport * from \"./bspline/InterpolationCurve3d\";\r\nexport * from \"./bspline/KnotVector\";\r\nexport * from \"./polyface/AuxData\";\r\nexport * from \"./polyface/BoxTopology\";\r\nexport * from \"./polyface/FacetFaceData\";\r\nexport * from \"./polyface/Polyface\";\r\nexport * from \"./polyface/FacetLocationDetail\";\r\nexport * from \"./polyface/IndexedPolyfaceVisitor\";\r\nexport * from \"./polyface/multiclip/GriddedRaggedRange2dSet\";\r\nexport * from \"./polyface/multiclip/GriddedRaggedRange2dSetWithOverflow\";\r\nexport * from \"./polyface/PolyfaceBuilder\";\r\nexport * from \"./polyface/PolyfaceData\";\r\nexport * from \"./polyface/PolyfaceQuery\";\r\nexport * from \"./polyface/PolyfaceClip\";\r\nexport * from \"./polyface/RangeTree/Point3dArrayRangeTreeContext\";\r\nexport * from \"./polyface/RangeTree/LineString3dRangeTreeContext\";\r\nexport * from \"./polyface/RangeTree/PolyfaceRangeTreeContext\";\r\nexport * from \"./polyface/TaggedNumericData\";\r\nexport * from \"./topology/SpaceTriangulation\";\r\nexport * from \"./serialization/IModelJsonSchema\";\r\nexport * from \"./serialization/DeepCompare\";\r\nexport * from \"./serialization/GeometrySamples\";\r\nexport * from \"./serialization/SerializationHelpers\";\r\nexport { BentleyGeometryFlatBuffer } from \"./serialization/BentleyGeometryFlatBuffer\";\r\n"]}
|
|
1
|
+
{"version":3,"file":"core-geometry.js","sourceRoot":"","sources":["../../src/core-geometry.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;;AAE/F;;GAEG;AAEH,UAAU;AACV,+GAA+G;AAC/G,wDAAwD;AACxD,+FAA+F;AAC/F,6HAA6H;AAC7H,kEAAkE;AAElE;;;GAGG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,4CAA4C;AAC5C;;;;;;;;;GASG;AACH,8CAA8C;AAE9C;;;;;;;;GAQG;AACH,kCAAkC;AAElC;;;;;;;;;;;;GAYG;AACH,gCAAgC;AAChC;;;GAGG;AACH,mCAAmC;AACnC;;;GAGG;AACH,mCAAmC;AACnC;;;;GAIG;AACH,wCAAwC;AACxC;;;;;;;;;;GAUG;AACH,gCAAgC;AAChC;;;GAGG;AACH,mCAAmC;AACnC;;;GAGG;AACH,qDAAmC;AACnC,0DAAwC;AACxC,yEAAuD;AACvD,mEAAiD;AACjD,6DAA2C;AAC3C,yDAAuC;AACvC,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,oEAAkD;AAClD,oEAAkD;AAClD,+DAA6C;AAC7C,gEAA8C;AAC9C,yEAAuD;AACvD,mEAAiD;AACjD,oEAAkD;AAClD,wDAAsC;AACtC,qEAAmD;AACnD,uDAAqC;AACrC,4EAA0D;AAC1D,yEAAuD;AACvD,mEAAiD;AACjD,+DAA6C;AAC7C,+DAA6C;AAC7C,4DAA0C;AAC1C,mEAAiD;AACjD,2DAAyC;AACzC,0DAAwC;AACxC,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C;AAC1C,wDAAsC;AACtC,kEAAgD;AAEhD,6CAA2B;AAC3B,6CAA2B;AAC3B,gEAA8C;AAC9C,uDAAqC;AACrC,gEAA8C;AAC9C,wEAAsD;AACtD,2DAAyC;AACzC,wDAAsC;AACtC,uDAAqC;AACrC,6DAA2C;AAC3C,yEAAuD;AACvD,uDAAqC;AACrC,wDAAsC;AACtC,qDAAmC;AACnC,0DAAwC;AACxC,+DAA6C;AAC7C,8DAA4C;AAC5C,qDAAmC;AACnC,6DAA2C;AAC3C,gEAA8C;AAC9C,wDAAsC;AACtC,0DAAwC;AACxC,yDAAuC;AACvC,+DAA6C;AAE7C,gDAA8B;AAC9B,sEAAoD;AACpD,wDAAsC;AACtC,qDAAmC;AACnC,sEAAoD;AACpD,0DAAwC;AACxC,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,uDAAqC;AACrC,mDAAiC;AACjC,yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,+CAA6B;AAC7B,wDAAsC;AACtC,uDAAqC;AACrC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,wDAAsC;AACtC,qDAAmC;AACnC,wDAAsC;AACtC,oEAAkD;AAClD,oEAAkD;AAClD,gEAA8C;AAC9C,sDAAoC;AACpC,+DAA6C;AAC7C,8CAA4B;AAC5B,+CAA6B;AAC7B,sDAAoC;AACpC,0DAAwC;AACxC,qDAAmC;AACnC,yDAAuC;AACvC,iDAA+B;AAC/B,uDAAqC;AACrC,oDAAkC;AAClC,yDAAuC;AACvC,uDAAqC;AACrC,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,yDAAuC;AACvC,4DAA0C;AAC1C,wDAAsC;AACtC,4DAA0C;AAC1C,2DAAyC;AACzC,iEAA+C;AAC/C,uDAAqC;AACrC,qDAAmC;AACnC,yDAAuC;AACvC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,oEAAkD;AAClD,+EAA6D;AAC7D,2FAAyE;AACzE,6DAA2C;AAC3C,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC;AACxC,oFAAkE;AAClE,oFAAkE;AAClE,gFAA8D;AAC9D,+DAA6C;AAC7C,gEAA8C;AAC9C,mEAAiD;AACjD,8DAA4C;AAC5C,kEAAgD;AAChD,uEAAqD;AACrD,uFAAsF;AAA7E,sIAAA,yBAAyB,OAAA","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\n/** @packageDocumentation\r\n * @module Utility\r\n */\r\n\r\n// REMARK:\r\n// The docs-group-description comments are followed by empty classes with names corresponding to the doc-group.\r\n// Normally (in committed code) these are commented out.\r\n// The comments have distinctive strings so that simple search and replace can make the \"real\".\r\n// This is useful when working on the documentation: When the empty classes are present, VSCode will format the doc comments\r\n// for and display them when the mouse hovers over the class name.\r\n\r\n/**\r\n * @docs-package-description\r\n * The core-geometry package contains classes for working with geometry: points, vectors, curves, surfaces, and analytic solids\r\n */\r\n/**\r\n * @docs-group-description CartesianGeometry\r\n * Points, Vectors, Planes, and Transformations for x,y,z geometry.\r\n * * Fundamental cartesian geometry objects:\r\n * * Point2d, Point3d -- points with x,y,z coordinates\r\n * * Vector2d, Vector3d -- vectors with x,y,z coordinates\r\n * * Matrix3d -- 3x3 matrix\r\n * * * commonly used for pure rotations\r\n * * * scale and skew entries are also allowed.\r\n * * Transform -- an origin and axes.\r\n * * Range1d, Range2d, Range3d -- subsets of 1d, 2d, and 3d space bounded by low and high values.\r\n * * Ray3d -- a ray defined by origin and direction vector\r\n * * Plane3d -- an abstract base class extended by Plane3dByOriginAndNormal, Plane3dByOriginAndUnitNormal, Point4d, and ClipPlane\r\n * * Plane3dByOriginAndUnitNormal -- a plane defined by an origin and a single vector which is perpendicular to the plane\r\n * * plane3dByOriginAndVectors -- a plane defined by an origin and two vectors in the plane.\r\n * * Angles\r\n * * Angle -- a strongly typed angle object whose method names make it clear whether input and outputs are degrees or radians.\r\n * * AngleSweep -- an angular interval\r\n * * LatitudeLongitudeNumber -- carrier for position and altitude on sphere or ellipsoid\r\n * * YawPitchAndRollAngles -- 3 angles that define a rotated coordinate system.\r\n * * Utility classes\r\n * * FrameBuilder -- construction of coordinate frames from mixed data sources.\r\n * * ClipPlane -- a single plane\r\n * * ConvexClipPlaneSet -- an array of planes bounding a convex volume\r\n * * ClipPlaneSet -- an array of ConvexClipPlaneSet, defining the union of their volumes\r\n * * BilinearPatch -- twisted quadrilateral defined by 4 points\r\n * * BarycentricTriangle -- triangle defined by 3 points.\r\n * * Constant -- various numeric values exported as readonly constants\r\n */\r\n// doc:export class CartesianGeometryDoc { }\r\n/**\r\n * @docs-group-description ArraysAndInterfaces\r\n * These classes support array operations and inheritance-based algorithms.\r\n * * Arrays\r\n * * GrowableArray -- A carrier for a Float64Array, with methods that hide reallocation of the underlying array as contents are added.\r\n * * Point2dArray, Point3dArray, Point4dArray, Vector3dArray -- miscellaneous operations on arrays of 2d and 3d points.\r\n * * Interfaces\r\n * * GeometryHandler -- a double-dispatch protocol used for efficient implementation of algorithms that work on many geometry types.\r\n *\r\n */\r\n// doc:export class ArraysAndInterfacesDoc { }\r\n\r\n/**\r\n * @docs-group-description Bspline\r\n * A bspline curve or surface is used for curved freeform geometry defined by controls points (sometimes called poles).\r\n * * BSplineCurve -- a curve defined by control points (which are not on the curve)\r\n * * InterpolationCurve -- a curve defined by passthrough points, with \"good\" visual properties\r\n * * BSplineSurfaceXYZ -- a surface with XYZ\r\n * * BsplineSurfaceXYZW -- a surface with weighted (rational) XYZ coordinates\r\n * * KnotVector -- vector of breakpoints in bspline definitions.\r\n */\r\n// doc:export class BsplineDoc { }\r\n\r\n/**\r\n * @docs-group-description Curve\r\n * Curves in the GeometryQuery hierarchy: LineSegment3d, LineString3d, Arc3d, TransitionSpiral3d\r\n * * CurvePrimitive -- base class for parametric curves\r\n * * LineSegment3d -- a (bounded) portion of an unbounded line\r\n * * Arc3d -- a circular or elliptic arc\r\n * * LineString3d -- a sequence of points joined by line segments\r\n * * TransitionSpiral -- controlled transition between curvatures\r\n * * Support classes\r\n * * PointString3d -- a sequence of isolated points\r\n * * StrokeOptions -- tolerances to describe stroking accuracy\r\n * * RecursiveCurveProcessor, RecursiveCurveProcessorWithStack -- algorithmic support for trees with CurvePrimitives at the leaf level.\r\n */\r\n// doc:export class CurveDoc { }\r\n/**\r\n * @docs-group-description Numerics\r\n * The Numerics classes have geometric and numeric methods used during large algorithms in other classes.\r\n */\r\n// doc:export class NumericsDoc { }\r\n/**\r\n * @docs-group-description Polyface\r\n * A Polyface is a mesh structure with arrays of points that are shared among multiple incident facets.\r\n */\r\n// doc:export class PolyfaceDoc { }\r\n/**\r\n * @docs-group-description Serialization\r\n * These classes are related to serialization of geometry classes.\r\n * * IModelJson.Reader, IModelJson.Writer -- Conversion of in-memory geometry objects to json objects for persistence and transmission.\r\n */\r\n// doc:export class SerializationDoc { }\r\n/**\r\n * @docs-group-description Solid\r\n * Analytic Solids in the GeometryQuery hierarchy: Box, Sphere, Cone, TorusPipe, LinearSweep, RotationalSweep, RuledSweep\r\n * * Box -- a box solid. This is usually rectangular on all faces, but can in one directly like a view frustum\r\n * * Sphere -- a sphere\r\n * * Cone -- a cone or cylinder\r\n * * TorusPipe -- a pipe elbow\r\n * * LinearSweep -- a linear sweep of a base contour\r\n * * RotationalSweep -- a rotational sweep of a base contour\r\n * * RuledSweep -- two or more similarly structured contours joined by linear rule lines.\r\n */\r\n// doc:export class SolidDOc { }\r\n/**\r\n * @docs-group-description Topology\r\n * The Topology classes provide adjacency structures used in triangulations.\r\n */\r\n// doc:export class TopologyDoc { }\r\n/**\r\n * @docs-group-description RangeSearch\r\n * Support classes for searching collections of ranges.\r\n */\r\nexport * from \"./geometry3d/Angle\";\r\nexport * from \"./geometry3d/AngleSweep\";\r\nexport * from \"./geometry3d/LongitudeLatitudeAltitude\";\r\nexport * from \"./geometry3d/BarycentricTriangle\";\r\nexport * from \"./geometry3d/BilinearPatch\";\r\nexport * from \"./geometry3d/Ellipsoid\";\r\nexport * from \"./geometry3d/FrameBuilder\";\r\nexport * from \"./geometry3d/FrustumAnimation\";\r\nexport * from \"./geometry3d/GeometryHandler\";\r\nexport * from \"./geometry3d/GrowableBlockedArray\";\r\nexport * from \"./geometry3d/GrowableFloat64Array\";\r\nexport * from \"./geometry3d/GrowableXYArray\";\r\nexport * from \"./geometry3d/GrowableXYZArray\";\r\nexport * from \"./geometry3d/IndexedCollectionInterval\";\r\nexport * from \"./geometry3d/IndexedXYCollection\";\r\nexport * from \"./geometry3d/IndexedXYZCollection\";\r\nexport * from \"./geometry3d/Matrix3d\";\r\nexport * from \"./geometry3d/OrderedRotationAngles\";\r\nexport * from \"./geometry3d/Plane3d\";\r\nexport * from \"./geometry3d/Plane3dByOriginAndUnitNormal\";\r\nexport * from \"./geometry3d/Plane3dByOriginAndVectors\";\r\nexport * from \"./geometry3d/Point2dArrayCarrier\";\r\nexport * from \"./geometry3d/Point2dVector2d\";\r\nexport * from \"./geometry3d/Point3dVector3d\";\r\nexport * from \"./geometry3d/PointHelpers\";\r\nexport * from \"./geometry3d/Point3dArrayCarrier\";\r\nexport * from \"./geometry3d/PolylineOps\";\r\nexport * from \"./geometry3d/PolygonOps\";\r\nexport * from \"./geometry3d/Range\";\r\nexport * from \"./geometry3d/Ray2d\";\r\nexport * from \"./geometry3d/Ray3d\";\r\nexport * from \"./geometry3d/Segment1d\";\r\nexport * from \"./geometry3d/Transform\";\r\nexport * from \"./geometry3d/UVSurfaceOps\";\r\nexport * from \"./geometry3d/XYZProps\";\r\nexport * from \"./geometry3d/YawPitchRollAngles\";\r\n\r\nexport * from \"./Geometry\";\r\nexport * from \"./Constant\";\r\nexport * from \"./clipping/BooleanClipFactory\";\r\nexport * from \"./clipping/ClipPlane\";\r\nexport * from \"./clipping/ConvexClipPlaneSet\";\r\nexport * from \"./clipping/UnionOfConvexClipPlaneSets\";\r\nexport * from \"./clipping/ClipPrimitive\";\r\nexport * from \"./clipping/ClipVector\";\r\nexport * from \"./clipping/ClipUtils\";\r\nexport * from \"./numerics/ConvexPolygon2d\";\r\nexport * from \"./geometry4d/PlaneByOriginAndVectors4d\";\r\nexport * from \"./geometry4d/Point4d\";\r\nexport * from \"./geometry4d/Matrix4d\";\r\nexport * from \"./geometry4d/Map4d\";\r\nexport * from \"./geometry4d/MomentData\";\r\nexport * from \"./numerics/BezierPolynomials\";\r\nexport * from \"./numerics/ClusterableArray\";\r\nexport * from \"./numerics/Complex\";\r\nexport * from \"./numerics/ConvexPolygon2d\";\r\nexport * from \"./numerics/PascalCoefficients\";\r\nexport * from \"./numerics/Quadrature\";\r\nexport * from \"./numerics/Range1dArray\";\r\nexport * from \"./numerics/SmallSystem\";\r\nexport * from \"./numerics/TriDiagonalSystem\";\r\n\r\nexport * from \"./curve/Arc3d\";\r\nexport * from \"./curve/ConstructCurveBetweenCurves\";\r\nexport * from \"./curve/CoordinateXYZ\";\r\nexport * from \"./curve/CurveTypes\";\r\nexport * from \"./curve/CurveChainWithDistanceIndex\";\r\nexport * from \"./curve/CurveExtendMode\";\r\nexport * from \"./curve/CurveCollection\";\r\nexport * from \"./curve/CurveCurve\";\r\nexport * from \"./curve/CurveLocationDetail\";\r\nexport * from \"./curve/CurveFactory\";\r\nexport * from \"./curve/CurveOps\";\r\nexport * from \"./curve/CurvePrimitive\";\r\nexport * from \"./curve/CurveProcessor\";\r\nexport * from \"./curve/GeometryQuery\";\r\nexport * from \"./curve/LineSegment3d\";\r\nexport * from \"./curve/LineString3d\";\r\nexport * from \"./curve/Loop\";\r\nexport * from \"./curve/OffsetOptions\";\r\nexport * from \"./curve/ParityRegion\";\r\nexport * from \"./curve/Path\";\r\nexport * from \"./curve/RegionMomentsXY\";\r\nexport * from \"./curve/RegionOps\";\r\nexport * from \"./curve/PointString3d\";\r\nexport * from \"./curve/ProxyCurve\";\r\nexport * from \"./curve/StrokeOptions\";\r\nexport * from \"./curve/spiral/TransitionSpiral3d\";\r\nexport * from \"./curve/spiral/IntegratedSpiral3d\";\r\nexport * from \"./curve/spiral/DirectSpiral3d\";\r\nexport * from \"./curve/UnionRegion\";\r\nexport * from \"./curve/Query/StrokeCountMap\";\r\nexport * from \"./solid/Box\";\r\nexport * from \"./solid/Cone\";\r\nexport * from \"./solid/LinearSweep\";\r\nexport * from \"./solid/RotationalSweep\";\r\nexport * from \"./solid/RuledSweep\";\r\nexport * from \"./solid/SolidPrimitive\";\r\nexport * from \"./solid/Sphere\";\r\nexport * from \"./solid/SweepContour\";\r\nexport * from \"./solid/TorusPipe\";\r\nexport * from \"./bspline/AkimaCurve3d\";\r\nexport * from \"./bspline/Bezier1dNd\";\r\nexport * from \"./bspline/BezierCurveBase\";\r\nexport * from \"./bspline/BezierCurve3d\";\r\nexport * from \"./bspline/BezierCurve3dH\";\r\nexport * from \"./bspline/BSplineCurve\";\r\nexport * from \"./bspline/BSplineCurveOps\";\r\nexport * from \"./bspline/BSpline1dNd\";\r\nexport * from \"./bspline/BSplineCurve3dH\";\r\nexport * from \"./bspline/BSplineSurface\";\r\nexport * from \"./bspline/InterpolationCurve3d\";\r\nexport * from \"./bspline/KnotVector\";\r\nexport * from \"./polyface/AuxData\";\r\nexport * from \"./polyface/BoxTopology\";\r\nexport * from \"./polyface/FacetFaceData\";\r\nexport * from \"./polyface/Polyface\";\r\nexport * from \"./polyface/FacetLocationDetail\";\r\nexport * from \"./polyface/IndexedPolyfaceVisitor\";\r\nexport * from \"./polyface/multiclip/GriddedRaggedRange2dSet\";\r\nexport * from \"./polyface/multiclip/GriddedRaggedRange2dSetWithOverflow\";\r\nexport * from \"./polyface/PolyfaceBuilder\";\r\nexport * from \"./polyface/PolyfaceData\";\r\nexport * from \"./polyface/PolyfaceQuery\";\r\nexport * from \"./polyface/PolyfaceClip\";\r\nexport * from \"./polyface/RangeTree/Point3dArrayRangeTreeContext\";\r\nexport * from \"./polyface/RangeTree/LineString3dRangeTreeContext\";\r\nexport * from \"./polyface/RangeTree/PolyfaceRangeTreeContext\";\r\nexport * from \"./polyface/TaggedNumericData\";\r\nexport * from \"./topology/SpaceTriangulation\";\r\nexport * from \"./serialization/IModelJsonSchema\";\r\nexport * from \"./serialization/DeepCompare\";\r\nexport * from \"./serialization/GeometrySamples\";\r\nexport * from \"./serialization/SerializationHelpers\";\r\nexport { BentleyGeometryFlatBuffer } from \"./serialization/BentleyGeometryFlatBuffer\";\r\n"]}
|
package/lib/cjs/curve/Arc3d.d.ts
CHANGED
|
@@ -47,13 +47,13 @@ export interface ArcVectors {
|
|
|
47
47
|
* @public
|
|
48
48
|
*/
|
|
49
49
|
export interface ArcBlendData {
|
|
50
|
-
/** Constructed arc */
|
|
50
|
+
/** Constructed arc. */
|
|
51
51
|
arc?: Arc3d;
|
|
52
|
-
/** Fraction "moving backward" on the inbound curve */
|
|
52
|
+
/** Fraction "moving backward" on the inbound curve. */
|
|
53
53
|
fraction10: number;
|
|
54
|
-
/** Fraction "moving forward" on the outbound curve */
|
|
54
|
+
/** Fraction "moving forward" on the outbound curve. */
|
|
55
55
|
fraction12: number;
|
|
56
|
-
/** Optional reference point */
|
|
56
|
+
/** Optional reference point. */
|
|
57
57
|
point?: Point3d;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
@@ -154,7 +154,7 @@ export declare class EllipticalArcApproximationOptions {
|
|
|
154
154
|
* @public
|
|
155
155
|
*/
|
|
156
156
|
export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
157
|
-
/** String name for schema properties */
|
|
157
|
+
/** String name for schema properties. */
|
|
158
158
|
readonly curvePrimitiveType = "arc";
|
|
159
159
|
/** Test if this and other are both instances of Arc3d. */
|
|
160
160
|
isSameGeometryClass(other: GeometryQuery): boolean;
|
|
@@ -167,118 +167,129 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
167
167
|
private static _workVectorU;
|
|
168
168
|
private static _workVectorV;
|
|
169
169
|
private static _workVectorW;
|
|
170
|
-
/** Read property for (clone of) center */
|
|
170
|
+
/** Read property for (clone of) center. */
|
|
171
171
|
get center(): Point3d;
|
|
172
|
-
/** Read property for (clone of) vector0 */
|
|
172
|
+
/** Read property for (clone of) vector0. */
|
|
173
173
|
get vector0(): Vector3d;
|
|
174
|
-
/** Read property for (clone of) vector90 */
|
|
174
|
+
/** Read property for (clone of) vector90. */
|
|
175
175
|
get vector90(): Vector3d;
|
|
176
176
|
/** Read property for (clone of) plane normal, with arbitrary length. */
|
|
177
177
|
get perpendicularVector(): Vector3d;
|
|
178
|
-
/** Read property for (clone of) matrix of vector0, vector90, unit normal */
|
|
178
|
+
/** Read property for (clone of) matrix of vector0, vector90, unit normal. */
|
|
179
179
|
matrixClone(): Matrix3d;
|
|
180
|
-
/** Read property for (reference to) matrix of vector0, vector90, unit normal */
|
|
180
|
+
/** Read property for (reference to) matrix of vector0, vector90, unit normal. */
|
|
181
181
|
get matrixRef(): Matrix3d;
|
|
182
182
|
/** Sweep of the angle. */
|
|
183
183
|
get sweep(): AngleSweep;
|
|
184
184
|
set sweep(value: AngleSweep);
|
|
185
|
-
/** An Arc3d extends along its complete elliptic arc */
|
|
185
|
+
/** An Arc3d extends along its complete elliptic arc. */
|
|
186
186
|
get isExtensibleFractionSpace(): boolean;
|
|
187
187
|
private constructor();
|
|
188
188
|
/**
|
|
189
|
-
* Return a clone of the arc, with transform applied
|
|
189
|
+
* Return a clone of the arc, with transform applied.
|
|
190
190
|
* @param transform
|
|
191
191
|
*/
|
|
192
192
|
cloneTransformed(transform: Transform): Arc3d;
|
|
193
193
|
/**
|
|
194
194
|
* Redefine the arc with (captured references to) given data.
|
|
195
|
-
* @param center arc center
|
|
196
|
-
* @param matrix matrix with columns vector0, vector 90, and their unit cross product
|
|
197
|
-
* @param sweep angle sweep
|
|
195
|
+
* @param center arc center.
|
|
196
|
+
* @param matrix matrix with columns vector0, vector 90, and their unit cross product.
|
|
197
|
+
* @param sweep angle sweep.
|
|
198
198
|
*/
|
|
199
199
|
setRefs(center: Point3d, matrix: Matrix3d, sweep: AngleSweep): void;
|
|
200
200
|
/**
|
|
201
201
|
* Redefine the arc with (clones of) given data.
|
|
202
|
-
* @param center arc center
|
|
203
|
-
* @param matrix matrix with columns vector0, vector 90, and their unit cross product
|
|
204
|
-
* @param sweep angle sweep
|
|
202
|
+
* @param center arc center.
|
|
203
|
+
* @param matrix matrix with columns vector0, vector 90, and their unit cross product.
|
|
204
|
+
* @param sweep angle sweep.
|
|
205
205
|
*/
|
|
206
206
|
set(center: Point3d, matrix: Matrix3d, sweep: AngleSweep | undefined): void;
|
|
207
|
-
/** Copy center, matrix, and sweep from other Arc3d */
|
|
207
|
+
/** Copy center, matrix, and sweep from other Arc3d. */
|
|
208
208
|
setFrom(other: Arc3d): void;
|
|
209
209
|
/** Return a clone of this arc. */
|
|
210
210
|
clone(): Arc3d;
|
|
211
211
|
/**
|
|
212
212
|
* Create an arc, capturing references to center, matrix and sweep.
|
|
213
|
-
* @param center center point
|
|
214
|
-
* @param matrix matrix with columns vector0, vector90, and unit cross product
|
|
215
|
-
* @param sweep sweep limits
|
|
213
|
+
* @param center center point.
|
|
214
|
+
* @param matrix matrix with columns vector0, vector90, and unit cross product.
|
|
215
|
+
* @param sweep sweep limits.
|
|
216
216
|
* @param result optional preallocated result.
|
|
217
217
|
*/
|
|
218
218
|
static createRefs(center: Point3d, matrix: Matrix3d, sweep: AngleSweep, result?: Arc3d): Arc3d;
|
|
219
219
|
/**
|
|
220
220
|
* Create an arc from center, x column to be scaled, and y column to be scaled.
|
|
221
|
-
* @param center center of ellipse
|
|
222
|
-
* @param matrix matrix whose x and y columns are
|
|
221
|
+
* @param center center of ellipse.
|
|
222
|
+
* @param matrix matrix whose x and y columns are scaled by radius0 and radius90.
|
|
223
223
|
* @param radius0 radius in x direction.
|
|
224
224
|
* @param radius90 radius in y direction.
|
|
225
|
-
* @param sweep sweep limits
|
|
225
|
+
* @param sweep sweep limits.
|
|
226
226
|
* @param result optional preallocated result.
|
|
227
227
|
*/
|
|
228
228
|
static createScaledXYColumns(center: Point3d | undefined, matrix: Matrix3d, radius0: number, radius90: number, sweep?: AngleSweep, result?: Arc3d): Arc3d;
|
|
229
229
|
/**
|
|
230
|
-
* Create a (full circular) arc from center, normal and radius
|
|
231
|
-
* @param center center of ellipse.
|
|
232
|
-
* @param normal normal vector
|
|
230
|
+
* Create a (full circular) arc from center, normal and radius.
|
|
231
|
+
* @param center center of ellipse. If undefined, center at 000.
|
|
232
|
+
* @param normal normal vector.
|
|
233
233
|
* @param radius radius in x direction.
|
|
234
234
|
* @param result optional preallocated result.
|
|
235
235
|
*/
|
|
236
236
|
static createCenterNormalRadius(center: Point3d | undefined, normal: Vector3d, radius: number, result?: Arc3d): Arc3d;
|
|
237
237
|
/**
|
|
238
238
|
* Create an arc by center with vectors to points at 0 and 90 degrees in parameter space.
|
|
239
|
-
* @param center arc center
|
|
240
|
-
* @param vector0 vector to 0 degrees (commonly major axis)
|
|
241
|
-
* @param vector90 vector to 90 degree point (commonly minor axis)
|
|
242
|
-
* @param sweep sweep limits
|
|
243
|
-
* @param result optional preallocated result
|
|
239
|
+
* @param center arc center.
|
|
240
|
+
* @param vector0 vector to 0 degrees (commonly major axis).
|
|
241
|
+
* @param vector90 vector to 90 degree point (commonly minor axis).
|
|
242
|
+
* @param sweep sweep limits; defaults to full sweep.
|
|
243
|
+
* @param result optional preallocated result.
|
|
244
244
|
*/
|
|
245
245
|
static create(center: Point3d | undefined, vector0: Vector3d, vector90: Vector3d, sweep?: AngleSweep, result?: Arc3d): Arc3d;
|
|
246
246
|
/**
|
|
247
247
|
* Create an elliptical arc from three points on the ellipse: two points on an axis and one in between.
|
|
248
|
-
* @param
|
|
249
|
-
* @param
|
|
250
|
-
* @param
|
|
251
|
-
* @param sweep angular sweep, measured from `
|
|
252
|
-
* For a half-ellipse from `
|
|
248
|
+
* @param start start of arc, on an axis.
|
|
249
|
+
* @param middle point on arc somewhere between `start` and `end`.
|
|
250
|
+
* @param end point on arc directly opposite `start`.
|
|
251
|
+
* @param sweep angular sweep, measured from `start` in the direction of `middle`.
|
|
252
|
+
* For a half-ellipse from `start` to `end` passing through `middle`, pass `AngleSweep.createStartEndDegrees(0,180)`.
|
|
253
253
|
* Default value is full sweep to create the entire ellipse.
|
|
254
|
-
* @param result optional preallocated result
|
|
254
|
+
* @param result optional preallocated result.
|
|
255
255
|
* @returns elliptical arc, or undefined if construction impossible.
|
|
256
256
|
*/
|
|
257
|
-
static createStartMiddleEnd(
|
|
257
|
+
static createStartMiddleEnd(start: XYAndZ, middle: XYAndZ, end: XYAndZ, sweep?: AngleSweep, result?: Arc3d): Arc3d | undefined;
|
|
258
258
|
/**
|
|
259
259
|
* Create a circular arc defined by start point, tangent at start point, and end point.
|
|
260
|
-
*
|
|
260
|
+
* * The circular arc is swept from `start` to `end` in the direction of `tangentAtStart`.
|
|
261
|
+
* * If `tangentAtStart` is parallel to the line segment from `start` to `end`, return the line segment.
|
|
261
262
|
*/
|
|
262
263
|
static createCircularStartTangentEnd(start: Point3d, tangentAtStart: Vector3d, end: Point3d, result?: Arc3d): Arc3d | LineSegment3d;
|
|
264
|
+
/**
|
|
265
|
+
* Create a circular arc from start point, tangent at start, radius, optional plane normal, arc sweep.
|
|
266
|
+
* * The vector from start point to center is in the direction of upVector crossed with tangentA.
|
|
267
|
+
* @param start start point.
|
|
268
|
+
* @param tangentAtStart vector in tangent direction at the start.
|
|
269
|
+
* @param radius signed radius.
|
|
270
|
+
* @param upVector optional out-of-plane vector. Defaults to positive Z.
|
|
271
|
+
* @param sweep angular range. If single `Angle` is given, start angle is at 0 degrees (the start point).
|
|
272
|
+
*/
|
|
273
|
+
static createCircularStartTangentRadius(start: Point3d, tangentAtStart: Vector3d, radius: number, upVector?: Vector3d, sweep?: Angle | AngleSweep): Arc3d | undefined;
|
|
263
274
|
/**
|
|
264
275
|
* Create a circular arc defined by start and end points and radius.
|
|
265
|
-
* @param start start point of the arc
|
|
266
|
-
* @param end end point of the arc
|
|
267
|
-
* @param helper a third point near the arc in its plane, or a vector in the direction of the arc normal
|
|
268
|
-
* @returns the constructed arc, or undefined if desired arc cannot be constructed
|
|
276
|
+
* @param start start point of the arc.
|
|
277
|
+
* @param end end point of the arc.
|
|
278
|
+
* @param helper a third point near the arc in its plane, or a vector in the direction of the arc normal.
|
|
279
|
+
* @returns the constructed arc, or undefined if desired arc cannot be constructed.
|
|
269
280
|
*/
|
|
270
281
|
static createCircularStartEndRadius(start: Point3d, end: Point3d, radius: number, helper: Point3d | Vector3d): Arc3d | undefined;
|
|
271
282
|
/**
|
|
272
283
|
* Return a clone of this arc, projected to given z value.
|
|
273
284
|
* * If `z` is omitted, the clone is at the z of the center.
|
|
274
285
|
* * This function projects the arc into a plane parallel to xy-plane.
|
|
275
|
-
* * Note that projection to fixed z can change circle into ellipse (and (rarely) ellipse to circle)
|
|
286
|
+
* * Note that projection to fixed z can change circle into ellipse (and (rarely) ellipse to circle).
|
|
276
287
|
*/
|
|
277
288
|
cloneAtZ(z?: number): Arc3d;
|
|
278
289
|
/**
|
|
279
290
|
* Create an arc by center (cx,cy,xz) with vectors (ux,uy,uz) and (vx,vy,vz) to points at 0 and 90 degrees in
|
|
280
291
|
* parameter space.
|
|
281
|
-
* @param result optional preallocated result
|
|
292
|
+
* @param result optional preallocated result.
|
|
282
293
|
*/
|
|
283
294
|
static createXYZXYZXYZ(cx: number, cy: number, cz: number, ux: number, uy: number, uz: number, vx: number, vy: number, vz: number, sweep?: AngleSweep, result?: Arc3d): Arc3d;
|
|
284
295
|
/**
|
|
@@ -296,66 +307,66 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
296
307
|
/** The arc has simple proportional arc length if and only if it is a circular arc. */
|
|
297
308
|
getFractionToDistanceScale(): number | undefined;
|
|
298
309
|
/**
|
|
299
|
-
* Convert a fractional position to xyz coordinates
|
|
300
|
-
* @param fraction fractional position on arc
|
|
301
|
-
* @param result optional preallocated result
|
|
310
|
+
* Convert a fractional position to xyz coordinates.
|
|
311
|
+
* @param fraction fractional position on arc.
|
|
312
|
+
* @param result optional preallocated result.
|
|
302
313
|
*/
|
|
303
314
|
fractionToPoint(fraction: number, result?: Point3d): Point3d;
|
|
304
315
|
/**
|
|
305
|
-
* Convert fractional arc and radial positions to xyz coordinates
|
|
306
|
-
* @param fraction fractional position on arc
|
|
307
|
-
* @param result optional preallocated result
|
|
316
|
+
* Convert fractional arc and radial positions to xyz coordinates.
|
|
317
|
+
* @param fraction fractional position on arc.
|
|
318
|
+
* @param result optional preallocated result.
|
|
308
319
|
*/
|
|
309
320
|
fractionAndRadialFractionToPoint(arcFraction: number, radialFraction: number, result?: Point3d): Point3d;
|
|
310
321
|
/**
|
|
311
322
|
* Convert a fractional position to xyz coordinates and derivative with respect to fraction.
|
|
312
|
-
* @param fraction fractional position on arc
|
|
313
|
-
* @param result optional preallocated result
|
|
323
|
+
* @param fraction fractional position on arc.
|
|
324
|
+
* @param result optional preallocated result.
|
|
314
325
|
*/
|
|
315
326
|
fractionToPointAndDerivative(fraction: number, result?: Ray3d): Ray3d;
|
|
316
327
|
/**
|
|
317
328
|
* Construct a plane with
|
|
318
|
-
* * origin at the fractional position along the arc
|
|
319
|
-
* * x axis is the first derivative, i.e. tangent along the arc
|
|
329
|
+
* * origin at the fractional position along the arc.
|
|
330
|
+
* * x axis is the first derivative, i.e. tangent along the arc.
|
|
320
331
|
* * y axis is the second derivative, i.e. in the plane and on the center side of the tangent.
|
|
321
|
-
* If the arc is circular, the second derivative is directly towards the center
|
|
332
|
+
* If the arc is circular, the second derivative is directly towards the center.
|
|
322
333
|
*/
|
|
323
334
|
fractionToPointAnd2Derivatives(fraction: number, result?: Plane3dByOriginAndVectors): Plane3dByOriginAndVectors;
|
|
324
335
|
/**
|
|
325
|
-
* Evaluate the point and derivative with respect to the angle (in radians)
|
|
326
|
-
* @param radians angular position
|
|
336
|
+
* Evaluate the point and derivative with respect to the angle (in radians).
|
|
337
|
+
* @param radians angular position.
|
|
327
338
|
* @param result optional preallocated ray.
|
|
328
339
|
*/
|
|
329
340
|
radiansToPointAndDerivative(radians: number, result?: Ray3d): Ray3d;
|
|
330
341
|
/**
|
|
331
|
-
* Evaluate the point with respect to the angle (in radians)
|
|
332
|
-
* @param radians angular position
|
|
342
|
+
* Evaluate the point with respect to the angle (in radians).
|
|
343
|
+
* @param radians angular position.
|
|
333
344
|
* @param result optional preallocated ray.
|
|
334
345
|
*/
|
|
335
346
|
radiansToPoint(radians: number, result?: Point3d): Point3d;
|
|
336
347
|
/**
|
|
337
348
|
* Return a parametric plane with
|
|
338
|
-
* * origin at arc center
|
|
339
|
-
* * vectorU from center to arc at angle (in radians)
|
|
349
|
+
* * origin at arc center.
|
|
350
|
+
* * vectorU from center to arc at angle (in radians).
|
|
340
351
|
* * vectorV from center to arc at 90 degrees past the angle.
|
|
341
|
-
* @param radians angular position
|
|
342
|
-
* @param result optional preallocated plane
|
|
352
|
+
* @param radians angular position.
|
|
353
|
+
* @param result optional preallocated plane.
|
|
343
354
|
*/
|
|
344
355
|
radiansToRotatedBasis(radians: number, result?: Plane3dByOriginAndVectors): Plane3dByOriginAndVectors;
|
|
345
356
|
/**
|
|
346
|
-
* Evaluate the point and derivative with respect to the angle (in radians)
|
|
347
|
-
* @param theta angular position
|
|
357
|
+
* Evaluate the point and derivative with respect to the angle (in radians).
|
|
358
|
+
* @param theta angular position.
|
|
348
359
|
* @param result optional preallocated ray.
|
|
349
360
|
*/
|
|
350
361
|
angleToPointAndDerivative(theta: Angle, result?: Ray3d): Ray3d;
|
|
351
362
|
/**
|
|
352
363
|
* Return the start point of the arc.
|
|
353
|
-
* @param result optional preallocated result
|
|
364
|
+
* @param result optional preallocated result.
|
|
354
365
|
*/
|
|
355
366
|
startPoint(result?: Point3d): Point3d;
|
|
356
367
|
/**
|
|
357
368
|
* Return the end point of the arc.
|
|
358
|
-
* @param result optional preallocated result
|
|
369
|
+
* @param result optional preallocated result.
|
|
359
370
|
*/
|
|
360
371
|
endPoint(result?: Point3d): Point3d;
|
|
361
372
|
/** * If this is a circular arc, return the simple length derived from radius and sweep.
|
|
@@ -363,9 +374,9 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
363
374
|
* Uses quadrature.
|
|
364
375
|
*/
|
|
365
376
|
curveLength(): number;
|
|
366
|
-
/** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep) */
|
|
377
|
+
/** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep). */
|
|
367
378
|
static readonly quadratureGuassCount = 5;
|
|
368
|
-
/** In quadrature for arc length, use this interval (divided by quickEccentricity) */
|
|
379
|
+
/** In quadrature for arc length, use this interval (divided by quickEccentricity). */
|
|
369
380
|
static readonly quadratureIntervalAngleDegrees = 10;
|
|
370
381
|
/**
|
|
371
382
|
* * If this is a circular arc, return the simple length derived from radius and sweep.
|
|
@@ -383,14 +394,14 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
383
394
|
*/
|
|
384
395
|
quickLength(): number;
|
|
385
396
|
/**
|
|
386
|
-
* * See extended comments on `CurvePrimitive.moveSignedDistanceFromFraction
|
|
387
|
-
* * A zero length line generates `CurveSearchStatus.error
|
|
388
|
-
* * Nonzero length line generates `CurveSearchStatus.success` or `CurveSearchStatus.stoppedAtBoundary
|
|
397
|
+
* * See extended comments on `CurvePrimitive.moveSignedDistanceFromFraction`.
|
|
398
|
+
* * A zero length line generates `CurveSearchStatus.error`.
|
|
399
|
+
* * Nonzero length line generates `CurveSearchStatus.success` or `CurveSearchStatus.stoppedAtBoundary`.
|
|
389
400
|
*/
|
|
390
401
|
moveSignedDistanceFromFraction(startFraction: number, signedDistance: number, allowExtension: false, result?: CurveLocationDetail): CurveLocationDetail;
|
|
391
402
|
/**
|
|
392
403
|
* Return all radian angles where the ellipse tangent is perpendicular to the vector to a spacePoint.
|
|
393
|
-
* @param spacePoint point of origin of vectors to the ellipse
|
|
404
|
+
* @param spacePoint point of origin of vectors to the ellipse.
|
|
394
405
|
* @param _extend always true. Sweep is ignored: perpendiculars for the full ellipse are returned.
|
|
395
406
|
* @param endpoints if true, force the end radians into the result.
|
|
396
407
|
*/
|
|
@@ -408,25 +419,22 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
408
419
|
/**
|
|
409
420
|
* Apply a transform to the arc basis vectors.
|
|
410
421
|
* * nonuniform (i.e. skewing) transforms are allowed.
|
|
411
|
-
* * The transformed vector0 and vector90 are NOT squared up as major minor axes
|
|
422
|
+
* * The transformed vector0 and vector90 are NOT squared up as major minor axes (this is a good feature).
|
|
412
423
|
*/
|
|
413
424
|
tryTransformInPlace(transform: Transform): boolean;
|
|
414
|
-
/**
|
|
415
|
-
* Return true if the ellipse center and basis vectors are in the plane
|
|
416
|
-
* @param plane
|
|
417
|
-
*/
|
|
425
|
+
/** Return true if the ellipse center and basis vectors are in the plane. */
|
|
418
426
|
isInPlane(plane: Plane3dByOriginAndUnitNormal): boolean;
|
|
419
427
|
/** Return true if the vector0 and vector90 are of equal length and perpendicular. */
|
|
420
428
|
get isCircular(): boolean;
|
|
421
429
|
/** Return radius if the vector0 and vector90 are of equal length and perpendicular. */
|
|
422
430
|
circularRadiusXY(): number | undefined;
|
|
423
|
-
/** If the arc is circular, return its radius. Otherwise return undefined */
|
|
431
|
+
/** If the arc is circular, return its radius. Otherwise return undefined. */
|
|
424
432
|
circularRadius(): number | undefined;
|
|
425
|
-
/** Return the larger of the two defining vectors. */
|
|
433
|
+
/** Return the larger length of the two defining vectors. */
|
|
426
434
|
maxVectorLength(): number;
|
|
427
435
|
/**
|
|
428
436
|
* Compute intersections with a plane.
|
|
429
|
-
* @param plane plane to intersect
|
|
437
|
+
* @param plane plane to intersect.
|
|
430
438
|
* @param result array of locations on the curve.
|
|
431
439
|
*/
|
|
432
440
|
appendPlaneIntersectionPoints(plane: PlaneAltitudeEvaluator, result: CurveLocationDetail[]): number;
|
|
@@ -443,13 +451,13 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
443
451
|
*/
|
|
444
452
|
extendRangeInSweep(range: Range3d, sweep: AngleSweep, transform?: Transform): void;
|
|
445
453
|
/**
|
|
446
|
-
* Returns a (high accuracy) range of the curve between fractional positions
|
|
447
|
-
* * Default implementation returns teh range of the curve from clonePartialCurve
|
|
454
|
+
* Returns a (high accuracy) range of the curve between fractional positions.
|
|
455
|
+
* * Default implementation returns teh range of the curve from clonePartialCurve.
|
|
448
456
|
*/
|
|
449
457
|
rangeBetweenFractions(fraction0: number, fraction1: number, transform?: Transform): Range3d;
|
|
450
458
|
/**
|
|
451
459
|
* Set up a SineCosinePolynomial as the function c+u*cos(theta)+v*sin(theta) where
|
|
452
|
-
*
|
|
460
|
+
* c,u,v are coefficients obtained by evaluating altitude and velocity relative to the plane.
|
|
453
461
|
* @param plane plane for altitude calculation.
|
|
454
462
|
* @param result optional result.
|
|
455
463
|
* @internal
|
|
@@ -459,26 +467,26 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
459
467
|
static createUnitCircle(): Arc3d;
|
|
460
468
|
/**
|
|
461
469
|
* Create a new arc which is parallel to the xy plane, with given center and radius and optional angle sweep.
|
|
462
|
-
* @param center center of arc
|
|
463
|
-
* @param radius radius of arc
|
|
464
|
-
* @param sweep sweep limits
|
|
470
|
+
* @param center center of arc.
|
|
471
|
+
* @param radius radius of arc.
|
|
472
|
+
* @param sweep sweep limits; defaults to full circle.
|
|
465
473
|
*/
|
|
466
474
|
static createXY(center: Point3d, radius: number, sweep?: AngleSweep): Arc3d;
|
|
467
475
|
/**
|
|
468
476
|
* Create a new arc which is parallel to the xy plane, with given center and x,y radii, and optional angle sweep
|
|
469
|
-
* @param center center of ellipse
|
|
470
|
-
* @param radiusA x axis radius
|
|
471
|
-
* @param radiusB y axis radius
|
|
472
|
-
* @param sweep angle sweep
|
|
477
|
+
* @param center center of ellipse.
|
|
478
|
+
* @param radiusA x axis radius.
|
|
479
|
+
* @param radiusB y axis radius.
|
|
480
|
+
* @param sweep angle sweep.
|
|
473
481
|
*/
|
|
474
482
|
static createXYEllipse(center: Point3d, radiusA: number, radiusB: number, sweep?: AngleSweep): Arc3d;
|
|
475
483
|
/**
|
|
476
484
|
* Replace the arc's 0 and 90 degree vectors.
|
|
477
|
-
* @param vector0 vector from center to ellipse point at 0 degrees in parameter space
|
|
478
|
-
* @param vector90 vector from center to ellipse point at 90 degrees in parameter space
|
|
485
|
+
* @param vector0 vector from center to ellipse point at 0 degrees in parameter space.
|
|
486
|
+
* @param vector90 vector from center to ellipse point at 90 degrees in parameter space.
|
|
479
487
|
*/
|
|
480
488
|
setVector0Vector90(vector0: Vector3d, vector90: Vector3d): void;
|
|
481
|
-
/** Return the arc definition with rigid matrix form with axis radii */
|
|
489
|
+
/** Return the arc definition with rigid matrix form with axis radii. */
|
|
482
490
|
toScaledMatrix3d(): {
|
|
483
491
|
center: Point3d;
|
|
484
492
|
axes: Matrix3d;
|
|
@@ -486,7 +494,7 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
486
494
|
r90: number;
|
|
487
495
|
sweep: AngleSweep;
|
|
488
496
|
};
|
|
489
|
-
/** Return the arc definition with center, two vectors, and angle sweep
|
|
497
|
+
/** Return the arc definition with center, two vectors, and angle sweep. */
|
|
490
498
|
toVectors(): ArcVectors;
|
|
491
499
|
/** Return the arc definition with center, two vectors, and angle sweep, optionally transformed. */
|
|
492
500
|
toTransformedVectors(transform?: Transform): {
|
|
@@ -504,9 +512,9 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
504
512
|
};
|
|
505
513
|
/**
|
|
506
514
|
* Set this arc from a json object with these values:
|
|
507
|
-
* * center center point
|
|
508
|
-
* * vector0 vector from center to 0 degree point in parameter space (commonly but not always the major axis vector)
|
|
509
|
-
* * vector90 vector from center to 90 degree point in parameter space (commonly but not always the minor axis vector)
|
|
515
|
+
* * center center point.
|
|
516
|
+
* * vector0 vector from center to 0 degree point in parameter space (commonly but not always the major axis vector).
|
|
517
|
+
* * vector90 vector from center to 90 degree point in parameter space (commonly but not always the minor axis vector).
|
|
510
518
|
* @param json
|
|
511
519
|
*/
|
|
512
520
|
setFromJSON(json?: any): void;
|
|
@@ -515,39 +523,39 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
515
523
|
* @return {*} [center: [], vector0:[], vector90:[], sweep []}
|
|
516
524
|
*/
|
|
517
525
|
toJSON(): any;
|
|
518
|
-
/** Test if this arc is almost equal to another GeometryQuery object */
|
|
519
|
-
isAlmostEqual(otherGeometry: GeometryQuery): boolean;
|
|
520
|
-
/** Emit strokes to caller-supplied linestring */
|
|
526
|
+
/** Test if this arc is almost equal to another GeometryQuery object. */
|
|
527
|
+
isAlmostEqual(otherGeometry: GeometryQuery, distanceTol?: number, radianTol?: number): boolean;
|
|
528
|
+
/** Emit strokes to caller-supplied linestring. */
|
|
521
529
|
emitStrokes(dest: LineString3d, options?: StrokeOptions): void;
|
|
522
|
-
/** Emit strokes to caller-supplied handler */
|
|
530
|
+
/** Emit strokes to caller-supplied handler. */
|
|
523
531
|
emitStrokableParts(handler: IStrokeHandler, options?: StrokeOptions): void;
|
|
524
532
|
/**
|
|
525
533
|
* Return the stroke count required for given options.
|
|
526
|
-
* @param options StrokeOptions that determine count
|
|
534
|
+
* @param options StrokeOptions that determine count.
|
|
527
535
|
*/
|
|
528
536
|
computeStrokeCountForOptions(options?: StrokeOptions): number;
|
|
529
|
-
/** Second step of double dispatch:
|
|
537
|
+
/** Second step of double dispatch: call `handler.handleArc3d(this)` */
|
|
530
538
|
dispatchToGeometryHandler(handler: GeometryHandler): any;
|
|
531
539
|
/**
|
|
532
540
|
* Return (if possible) an arc which is a portion of this curve.
|
|
533
|
-
* @param fractionA
|
|
534
|
-
* @param fractionB
|
|
541
|
+
* @param fractionA start fraction.
|
|
542
|
+
* @param fractionB end fraction.
|
|
535
543
|
*/
|
|
536
544
|
clonePartialCurve(fractionA: number, fractionB: number): Arc3d;
|
|
537
545
|
/**
|
|
538
546
|
* Return an arc whose basis vectors are rotated by given angle within the current basis space.
|
|
539
|
-
* * the result arc will have its zero-degree point (new `vector0`) at the current
|
|
540
|
-
* `vector0 * cos(theta) + vector90 * sin(theta)
|
|
547
|
+
* * the result arc will have its zero-degree point (new `vector0`) at the current.
|
|
548
|
+
* `vector0 * cos(theta) + vector90 * sin(theta)`.
|
|
541
549
|
* * the result sweep is adjusted so all fractional coordinates (e.g. start and end) evaluate to the same xyz.
|
|
542
550
|
* * Specifically, theta is subtracted from the original start and end angles.
|
|
543
551
|
* @param theta the angle (in the input arc space) which is to become the 0-degree point in the new arc.
|
|
544
552
|
*/
|
|
545
553
|
cloneInRotatedBasis(theta: Angle): Arc3d;
|
|
546
554
|
/**
|
|
547
|
-
* Find intervals of this CurvePrimitive that are interior to a clipper
|
|
548
|
-
* @param clipper clip structure (e.g.clip planes)
|
|
549
|
-
* @param announce(optional) function to be called announcing fractional intervals
|
|
550
|
-
* `
|
|
555
|
+
* Find intervals of this CurvePrimitive that are interior to a clipper.
|
|
556
|
+
* @param clipper clip structure (e.g.clip planes).
|
|
557
|
+
* @param announce (optional) function to be called announcing fractional intervals
|
|
558
|
+
* `announce(fraction0, fraction1, curvePrimitive)`.
|
|
551
559
|
* @returns true if any "in" segments are announced.
|
|
552
560
|
*/
|
|
553
561
|
announceClipIntervals(clipper: Clipper, announce?: AnnounceNumberNumberCurvePrimitive): boolean;
|
|
@@ -557,42 +565,42 @@ export declare class Arc3d extends CurvePrimitive implements BeJSONFunctions {
|
|
|
557
565
|
* Determine an arc "at a point of inflection" of a point sequence.
|
|
558
566
|
* * Return the arc along with the fractional positions of the tangency points.
|
|
559
567
|
* * In the returned object:
|
|
560
|
-
* * `arc` is the (bounded) arc
|
|
568
|
+
* * `arc` is the (bounded) arc.
|
|
561
569
|
* * `fraction10` is the tangency point's position as an interpolating fraction of the line segment from
|
|
562
|
-
* `point1` (backwards) to `point0
|
|
570
|
+
* `point1` (backwards) to `point0`.
|
|
563
571
|
* * `fraction12` is the tangency point's position as an interpolating fraction of the line segment from
|
|
564
|
-
* `point1` (forward) to `point2
|
|
572
|
+
* `point1` (forward) to `point2`.
|
|
565
573
|
* * `point` is the `point1` input.
|
|
566
574
|
* * If unable to construct the arc:
|
|
567
575
|
* * `point` is the `point1` input.
|
|
568
|
-
* * both fractions are zero
|
|
576
|
+
* * both fractions are zero.
|
|
569
577
|
* * `arc` is undefined.
|
|
570
|
-
* @param point0 first point of path
|
|
571
|
-
* @param point1 second point of path (the point of inflection)
|
|
572
|
-
* @param point2 third point of path (the point after the point of inflection)
|
|
573
|
-
* @param radius arc radius
|
|
578
|
+
* @param point0 first point of path (the point before the point of inflection).
|
|
579
|
+
* @param point1 second point of path (the point of inflection).
|
|
580
|
+
* @param point2 third point of path (the point after the point of inflection).
|
|
581
|
+
* @param radius arc radius.
|
|
574
582
|
*
|
|
575
583
|
*/
|
|
576
584
|
static createFilletArc(point0: Point3d, point1: Point3d, point2: Point3d, radius: number): ArcBlendData;
|
|
577
|
-
/** Scale the vector0 and vector90 vectors by `scaleFactor
|
|
585
|
+
/** Scale the vector0 and vector90 vectors by `scaleFactor`. */
|
|
578
586
|
scaleAboutCenterInPlace(scaleFactor: number): void;
|
|
579
|
-
/** Return the (signed!) area between (a fractional portion of) the arc and the chord between those points */
|
|
587
|
+
/** Return the (signed!) area between (a fractional portion of) the arc and the chord between those points. */
|
|
580
588
|
areaToChordXY(fraction0: number, fraction1: number): number;
|
|
581
589
|
/**
|
|
582
590
|
* Construct an offset of the instance curve as viewed in the xy-plane (ignoring z).
|
|
583
|
-
* @param offsetDistanceOrOptions offset distance (positive to left of the instance curve), or options object
|
|
591
|
+
* @param offsetDistanceOrOptions offset distance (positive to left of the instance curve), or options object.
|
|
584
592
|
*/
|
|
585
593
|
constructOffsetXY(offsetDistanceOrOptions: number | OffsetOptions): CurvePrimitive | CurvePrimitive[] | undefined;
|
|
586
594
|
/**
|
|
587
595
|
* Project instance geometry (via dispatch) onto the given ray, and return the extreme fractional parameters of projection.
|
|
588
596
|
* @param ray ray onto which the instance is projected. A `Vector3d` is treated as a `Ray3d` with zero origin.
|
|
589
|
-
* @param lowHigh optional receiver for output
|
|
597
|
+
* @param lowHigh optional receiver for output.
|
|
590
598
|
* @returns range of fractional projection parameters onto the ray, where 0.0 is start of the ray and 1.0 is the end of the ray.
|
|
591
599
|
*/
|
|
592
600
|
projectedParameterRange(ray: Vector3d | Ray3d, lowHigh?: Range1d): Range1d | undefined;
|
|
593
601
|
/**
|
|
594
602
|
* Construct a circular arc chain approximation to the instance elliptical arc.
|
|
595
|
-
* @param options bundle of options for sampling an elliptical arc (use default options if undefined)
|
|
603
|
+
* @param options bundle of options for sampling an elliptical arc (use default options if undefined).
|
|
596
604
|
* @returns the approximating curve chain, the circular instance, or undefined if construction fails.
|
|
597
605
|
*/
|
|
598
606
|
constructCircularArcChainApproximation(options?: EllipticalArcApproximationOptions): CurveChain | Arc3d | undefined;
|