@itwin/core-geometry 3.0.0-dev.76 → 3.0.0-dev.80
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 +1049 -0
- package/lib/{Constant.d.ts → cjs/Constant.d.ts} +0 -0
- package/lib/cjs/Constant.d.ts.map +1 -0
- package/lib/{Constant.js → cjs/Constant.js} +0 -0
- package/lib/cjs/Constant.js.map +1 -0
- package/lib/{Geometry.d.ts → cjs/Geometry.d.ts} +0 -0
- package/lib/cjs/Geometry.d.ts.map +1 -0
- package/lib/{Geometry.js → cjs/Geometry.js} +0 -0
- package/lib/cjs/Geometry.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/AkimaCurve3d.d.ts +0 -0
- package/lib/cjs/bspline/AkimaCurve3d.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/AkimaCurve3d.js +0 -0
- package/lib/cjs/bspline/AkimaCurve3d.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSpline1dNd.d.ts +0 -0
- package/lib/cjs/bspline/BSpline1dNd.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSpline1dNd.js +0 -0
- package/lib/cjs/bspline/BSpline1dNd.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSplineCurve.d.ts +0 -0
- package/lib/cjs/bspline/BSplineCurve.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSplineCurve.js +0 -0
- package/lib/cjs/bspline/BSplineCurve.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSplineCurve3dH.d.ts +0 -0
- package/lib/cjs/bspline/BSplineCurve3dH.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSplineCurve3dH.js +0 -0
- package/lib/cjs/bspline/BSplineCurve3dH.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSplineCurveOps.d.ts +0 -0
- package/lib/cjs/bspline/BSplineCurveOps.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSplineCurveOps.js +0 -0
- package/lib/cjs/bspline/BSplineCurveOps.js.map +1 -0
- package/lib/cjs/bspline/BSplineSurface.d.ts +491 -0
- package/lib/cjs/bspline/BSplineSurface.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BSplineSurface.js +0 -0
- package/lib/cjs/bspline/BSplineSurface.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/Bezier1dNd.d.ts +0 -0
- package/lib/cjs/bspline/Bezier1dNd.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/Bezier1dNd.js +0 -0
- package/lib/cjs/bspline/Bezier1dNd.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/BezierCurve3d.d.ts +0 -0
- package/lib/cjs/bspline/BezierCurve3d.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BezierCurve3d.js +0 -0
- package/lib/cjs/bspline/BezierCurve3d.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/BezierCurve3dH.d.ts +0 -0
- package/lib/cjs/bspline/BezierCurve3dH.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BezierCurve3dH.js +0 -0
- package/lib/cjs/bspline/BezierCurve3dH.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/BezierCurveBase.d.ts +0 -0
- package/lib/cjs/bspline/BezierCurveBase.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/BezierCurveBase.js +0 -0
- package/lib/cjs/bspline/BezierCurveBase.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/InterpolationCurve3d.d.ts +0 -0
- package/lib/cjs/bspline/InterpolationCurve3d.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/InterpolationCurve3d.js +0 -0
- package/lib/cjs/bspline/InterpolationCurve3d.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/KnotVector.d.ts +0 -0
- package/lib/cjs/bspline/KnotVector.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/KnotVector.js +0 -0
- package/lib/cjs/bspline/KnotVector.js.map +1 -0
- package/lib/{bspline → cjs/bspline}/SurfaceLocationDetail.d.ts +0 -0
- package/lib/cjs/bspline/SurfaceLocationDetail.d.ts.map +1 -0
- package/lib/{bspline → cjs/bspline}/SurfaceLocationDetail.js +0 -0
- package/lib/cjs/bspline/SurfaceLocationDetail.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/AlternatingConvexClipTree.d.ts +0 -0
- package/lib/cjs/clipping/AlternatingConvexClipTree.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/AlternatingConvexClipTree.js +0 -0
- package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/BooleanClipFactory.d.ts +0 -0
- package/lib/cjs/clipping/BooleanClipFactory.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/BooleanClipFactory.js +0 -0
- package/lib/cjs/clipping/BooleanClipFactory.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/BooleanClipNode.d.ts +0 -0
- package/lib/cjs/clipping/BooleanClipNode.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/BooleanClipNode.js +0 -0
- package/lib/cjs/clipping/BooleanClipNode.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipPlane.d.ts +0 -0
- package/lib/cjs/clipping/ClipPlane.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipPlane.js +0 -0
- package/lib/cjs/clipping/ClipPlane.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipPrimitive.d.ts +0 -0
- package/lib/cjs/clipping/ClipPrimitive.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipPrimitive.js +0 -0
- package/lib/cjs/clipping/ClipPrimitive.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipUtils.d.ts +0 -0
- package/lib/cjs/clipping/ClipUtils.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipUtils.js +0 -0
- package/lib/cjs/clipping/ClipUtils.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipVector.d.ts +0 -0
- package/lib/cjs/clipping/ClipVector.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/ClipVector.js +0 -0
- package/lib/cjs/clipping/ClipVector.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/ConvexClipPlaneSet.d.ts +0 -0
- package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/ConvexClipPlaneSet.js +0 -0
- package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/UnionOfConvexClipPlaneSets.d.ts +0 -0
- package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/UnionOfConvexClipPlaneSets.js +0 -0
- package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js.map +1 -0
- package/lib/{clipping → cjs/clipping}/internalContexts/LineStringOffsetClipperContext.d.ts +0 -0
- package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -0
- package/lib/{clipping → cjs/clipping}/internalContexts/LineStringOffsetClipperContext.js +0 -0
- package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -0
- package/lib/{core-geometry.d.ts → cjs/core-geometry.d.ts} +0 -0
- package/lib/cjs/core-geometry.d.ts.map +1 -0
- package/lib/{core-geometry.js → cjs/core-geometry.js} +0 -0
- package/lib/cjs/core-geometry.js.map +1 -0
- package/lib/{curve → cjs/curve}/Arc3d.d.ts +0 -0
- package/lib/cjs/curve/Arc3d.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Arc3d.js +0 -0
- package/lib/cjs/curve/Arc3d.js.map +1 -0
- package/lib/{curve → cjs/curve}/ChainCollectorContext.d.ts +0 -0
- package/lib/cjs/curve/ChainCollectorContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/ChainCollectorContext.js +0 -0
- package/lib/cjs/curve/ChainCollectorContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/ConstructCurveBetweenCurves.d.ts +0 -0
- package/lib/cjs/curve/ConstructCurveBetweenCurves.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/ConstructCurveBetweenCurves.js +0 -0
- package/lib/cjs/curve/ConstructCurveBetweenCurves.js.map +1 -0
- package/lib/{curve → cjs/curve}/CoordinateXYZ.d.ts +0 -0
- package/lib/cjs/curve/CoordinateXYZ.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CoordinateXYZ.js +0 -0
- package/lib/cjs/curve/CoordinateXYZ.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveChain.d.ts +0 -0
- package/lib/cjs/curve/CurveChain.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveChain.js +0 -0
- package/lib/cjs/curve/CurveChain.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveChainWithDistanceIndex.d.ts +0 -0
- package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveChainWithDistanceIndex.js +0 -0
- package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCollection.d.ts +0 -0
- package/lib/cjs/curve/CurveCollection.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCollection.js +0 -0
- package/lib/cjs/curve/CurveCollection.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurve.d.ts +0 -0
- package/lib/cjs/curve/CurveCurve.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurve.js +0 -0
- package/lib/cjs/curve/CurveCurve.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurveCloseApproachXY.d.ts +0 -0
- package/lib/cjs/curve/CurveCurveCloseApproachXY.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurveCloseApproachXY.js +0 -0
- package/lib/cjs/curve/CurveCurveCloseApproachXY.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurveIntersectXY.d.ts +0 -0
- package/lib/cjs/curve/CurveCurveIntersectXY.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurveIntersectXY.js +0 -0
- package/lib/cjs/curve/CurveCurveIntersectXY.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurveIntersectXYZ.d.ts +0 -0
- package/lib/cjs/curve/CurveCurveIntersectXYZ.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveCurveIntersectXYZ.js +0 -0
- package/lib/cjs/curve/CurveCurveIntersectXYZ.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveExtendMode.d.ts +0 -0
- package/lib/cjs/curve/CurveExtendMode.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveExtendMode.js +0 -0
- package/lib/cjs/curve/CurveExtendMode.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveFactory.d.ts +0 -0
- package/lib/cjs/curve/CurveFactory.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveFactory.js +0 -0
- package/lib/cjs/curve/CurveFactory.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveLocationDetail.d.ts +0 -0
- package/lib/cjs/curve/CurveLocationDetail.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveLocationDetail.js +0 -0
- package/lib/cjs/curve/CurveLocationDetail.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurvePrimitive.d.ts +0 -0
- package/lib/cjs/curve/CurvePrimitive.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurvePrimitive.js +0 -0
- package/lib/cjs/curve/CurvePrimitive.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveProcessor.d.ts +0 -0
- package/lib/cjs/curve/CurveProcessor.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveProcessor.js +0 -0
- package/lib/cjs/curve/CurveProcessor.js.map +1 -0
- package/lib/{curve → cjs/curve}/CurveWireMomentsXYZ.d.ts +0 -0
- package/lib/cjs/curve/CurveWireMomentsXYZ.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/CurveWireMomentsXYZ.js +0 -0
- package/lib/cjs/curve/CurveWireMomentsXYZ.js.map +1 -0
- package/lib/{curve → cjs/curve}/GeometryQuery.d.ts +0 -0
- package/lib/cjs/curve/GeometryQuery.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/GeometryQuery.js +0 -0
- package/lib/cjs/curve/GeometryQuery.js.map +1 -0
- package/lib/{curve → cjs/curve}/LineSegment3d.d.ts +0 -0
- package/lib/cjs/curve/LineSegment3d.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/LineSegment3d.js +0 -0
- package/lib/cjs/curve/LineSegment3d.js.map +1 -0
- package/lib/{curve → cjs/curve}/LineString3d.d.ts +0 -0
- package/lib/cjs/curve/LineString3d.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/LineString3d.js +0 -0
- package/lib/cjs/curve/LineString3d.js.map +1 -0
- package/lib/{curve → cjs/curve}/Loop.d.ts +0 -0
- package/lib/cjs/curve/Loop.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Loop.js +0 -0
- package/lib/cjs/curve/Loop.js.map +1 -0
- package/lib/{curve → cjs/curve}/ParityRegion.d.ts +0 -0
- package/lib/cjs/curve/ParityRegion.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/ParityRegion.js +0 -0
- package/lib/cjs/curve/ParityRegion.js.map +1 -0
- package/lib/{curve → cjs/curve}/Path.d.ts +0 -0
- package/lib/cjs/curve/Path.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Path.js +0 -0
- package/lib/cjs/curve/Path.js.map +1 -0
- package/lib/{curve → cjs/curve}/PointString3d.d.ts +0 -0
- package/lib/cjs/curve/PointString3d.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/PointString3d.js +0 -0
- package/lib/cjs/curve/PointString3d.js.map +1 -0
- package/lib/{curve → cjs/curve}/ProxyCurve.d.ts +0 -0
- package/lib/cjs/curve/ProxyCurve.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/ProxyCurve.js +0 -0
- package/lib/cjs/curve/ProxyCurve.js.map +1 -0
- package/lib/{curve → cjs/curve}/Query/ConsolidateAdjacentPrimitivesContext.d.ts +0 -0
- package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Query/ConsolidateAdjacentPrimitivesContext.js +0 -0
- package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/Query/CurveSplitContext.d.ts +0 -0
- package/lib/cjs/curve/Query/CurveSplitContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Query/CurveSplitContext.js +0 -0
- package/lib/cjs/curve/Query/CurveSplitContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/Query/CylindricalRange.d.ts +0 -0
- package/lib/cjs/curve/Query/CylindricalRange.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Query/CylindricalRange.js +0 -0
- package/lib/cjs/curve/Query/CylindricalRange.js.map +1 -0
- package/lib/{curve → cjs/curve}/Query/InOutTests.d.ts +0 -0
- package/lib/cjs/curve/Query/InOutTests.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Query/InOutTests.js +0 -0
- package/lib/cjs/curve/Query/InOutTests.js.map +1 -0
- package/lib/{curve → cjs/curve}/Query/PlanarSubdivision.d.ts +0 -0
- package/lib/cjs/curve/Query/PlanarSubdivision.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Query/PlanarSubdivision.js +0 -0
- package/lib/cjs/curve/Query/PlanarSubdivision.js.map +1 -0
- package/lib/{curve → cjs/curve}/Query/StrokeCountChain.d.ts +0 -0
- package/lib/cjs/curve/Query/StrokeCountChain.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Query/StrokeCountChain.js +0 -0
- package/lib/cjs/curve/Query/StrokeCountChain.js.map +1 -0
- package/lib/{curve → cjs/curve}/Query/StrokeCountMap.d.ts +0 -0
- package/lib/cjs/curve/Query/StrokeCountMap.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/Query/StrokeCountMap.js +0 -0
- package/lib/cjs/curve/Query/StrokeCountMap.js.map +1 -0
- package/lib/{curve → cjs/curve}/RegionMomentsXY.d.ts +0 -0
- package/lib/cjs/curve/RegionMomentsXY.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/RegionMomentsXY.js +0 -0
- package/lib/cjs/curve/RegionMomentsXY.js.map +1 -0
- package/lib/{curve → cjs/curve}/RegionOps.d.ts +0 -0
- package/lib/cjs/curve/RegionOps.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/RegionOps.js +0 -0
- package/lib/cjs/curve/RegionOps.js.map +1 -0
- package/lib/{curve → cjs/curve}/RegionOpsClassificationSweeps.d.ts +0 -0
- package/lib/cjs/curve/RegionOpsClassificationSweeps.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/RegionOpsClassificationSweeps.js +0 -0
- package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -0
- package/lib/{curve → cjs/curve}/StrokeOptions.d.ts +0 -0
- package/lib/cjs/curve/StrokeOptions.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/StrokeOptions.js +0 -0
- package/lib/cjs/curve/StrokeOptions.js.map +1 -0
- package/lib/{curve → cjs/curve}/UnionRegion.d.ts +0 -0
- package/lib/cjs/curve/UnionRegion.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/UnionRegion.js +0 -0
- package/lib/cjs/curve/UnionRegion.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/CloneCurvesContext.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/CloneCurvesContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/CloneCurvesContext.js +0 -0
- package/lib/cjs/curve/internalContexts/CloneCurvesContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/CloneWithExpandedLineStrings.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/CloneWithExpandedLineStrings.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/CloneWithExpandedLineStrings.js +0 -0
- package/lib/cjs/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/CountLinearPartsSearchContext.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/CountLinearPartsSearchContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/CountLinearPartsSearchContext.js +0 -0
- package/lib/cjs/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/GapSearchContext.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/GapSearchContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/GapSearchContext.js +0 -0
- package/lib/cjs/curve/internalContexts/GapSearchContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/MultiChainCollector.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/MultiChainCollector.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/MultiChainCollector.js +0 -0
- package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/PlaneAltitudeRangeContext.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/PlaneAltitudeRangeContext.js +0 -0
- package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/PolygonOffsetContext.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/PolygonOffsetContext.js +0 -0
- package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/SumLengthsContext.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/SumLengthsContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/SumLengthsContext.js +0 -0
- package/lib/cjs/curve/internalContexts/SumLengthsContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/TransformInPlaceContext.d.ts +0 -0
- package/lib/cjs/curve/internalContexts/TransformInPlaceContext.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/internalContexts/TransformInPlaceContext.js +0 -0
- package/lib/cjs/curve/internalContexts/TransformInPlaceContext.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/AustralianRailCorpXYEvaluator.d.ts +0 -0
- package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/AustralianRailCorpXYEvaluator.js +0 -0
- package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/ClothoidSeries.d.ts +0 -0
- package/lib/cjs/curve/spiral/ClothoidSeries.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/ClothoidSeries.js +0 -0
- package/lib/cjs/curve/spiral/ClothoidSeries.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/CubicEvaluator.d.ts +0 -0
- package/lib/cjs/curve/spiral/CubicEvaluator.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/CubicEvaluator.js +0 -0
- package/lib/cjs/curve/spiral/CubicEvaluator.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/CzechSpiralEvaluator.d.ts +0 -0
- package/lib/cjs/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/CzechSpiralEvaluator.js +0 -0
- package/lib/cjs/curve/spiral/CzechSpiralEvaluator.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/DirectHalfCosineSpiralEvaluator.d.ts +0 -0
- package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/DirectHalfCosineSpiralEvaluator.js +0 -0
- package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -0
- package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts +265 -0
- package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts.map +1 -0
- package/lib/cjs/curve/spiral/DirectSpiral3d.js +473 -0
- package/lib/cjs/curve/spiral/DirectSpiral3d.js.map +1 -0
- package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts +158 -0
- package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -0
- package/lib/cjs/curve/spiral/IntegratedSpiral3d.js +364 -0
- package/lib/cjs/curve/spiral/IntegratedSpiral3d.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +0 -0
- package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/MXCubicAlongArcSpiralEvaluator.js +0 -0
- package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/NormalizedTransition.d.ts +0 -0
- package/lib/cjs/curve/spiral/NormalizedTransition.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/NormalizedTransition.js +0 -0
- package/lib/cjs/curve/spiral/NormalizedTransition.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/PolishCubicSpiralEvaluator.d.ts +0 -0
- package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/PolishCubicSpiralEvaluator.js +0 -0
- package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/TransitionConditionalProperties.d.ts +0 -0
- package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/TransitionConditionalProperties.js +0 -0
- package/lib/cjs/curve/spiral/TransitionConditionalProperties.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/TransitionSpiral3d.d.ts +0 -0
- package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/TransitionSpiral3d.js +0 -0
- package/lib/cjs/curve/spiral/TransitionSpiral3d.js.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/XYCurveEvaluator.d.ts +0 -0
- package/lib/cjs/curve/spiral/XYCurveEvaluator.d.ts.map +1 -0
- package/lib/{curve → cjs/curve}/spiral/XYCurveEvaluator.js +0 -0
- package/lib/cjs/curve/spiral/XYCurveEvaluator.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Angle.d.ts +0 -0
- package/lib/cjs/geometry3d/Angle.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Angle.js +0 -0
- package/lib/cjs/geometry3d/Angle.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/AngleSweep.d.ts +0 -0
- package/lib/cjs/geometry3d/AngleSweep.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/AngleSweep.js +0 -0
- package/lib/cjs/geometry3d/AngleSweep.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/BarycentricTriangle.d.ts +0 -0
- package/lib/cjs/geometry3d/BarycentricTriangle.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/BarycentricTriangle.js +0 -0
- package/lib/cjs/geometry3d/BarycentricTriangle.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/BilinearPatch.d.ts +0 -0
- package/lib/cjs/geometry3d/BilinearPatch.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/BilinearPatch.js +0 -0
- package/lib/cjs/geometry3d/BilinearPatch.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/CoincidentGeometryOps.d.ts +0 -0
- package/lib/cjs/geometry3d/CoincidentGeometryOps.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/CoincidentGeometryOps.js +0 -0
- package/lib/cjs/geometry3d/CoincidentGeometryOps.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Ellipsoid.d.ts +0 -0
- package/lib/cjs/geometry3d/Ellipsoid.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Ellipsoid.js +0 -0
- package/lib/cjs/geometry3d/Ellipsoid.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/FrameBuilder.d.ts +0 -0
- package/lib/cjs/geometry3d/FrameBuilder.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/FrameBuilder.js +0 -0
- package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/FrustumAnimation.d.ts +0 -0
- package/lib/cjs/geometry3d/FrustumAnimation.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/FrustumAnimation.js +0 -0
- package/lib/cjs/geometry3d/FrustumAnimation.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GeometryHandler.d.ts +0 -0
- package/lib/cjs/geometry3d/GeometryHandler.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GeometryHandler.js +0 -0
- package/lib/cjs/geometry3d/GeometryHandler.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableBlockedArray.d.ts +0 -0
- package/lib/cjs/geometry3d/GrowableBlockedArray.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableBlockedArray.js +0 -0
- package/lib/cjs/geometry3d/GrowableBlockedArray.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableFloat64Array.d.ts +0 -0
- package/lib/cjs/geometry3d/GrowableFloat64Array.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableFloat64Array.js +0 -0
- package/lib/cjs/geometry3d/GrowableFloat64Array.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableXYArray.d.ts +0 -0
- package/lib/cjs/geometry3d/GrowableXYArray.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableXYArray.js +0 -0
- package/lib/cjs/geometry3d/GrowableXYArray.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableXYZArray.d.ts +0 -0
- package/lib/cjs/geometry3d/GrowableXYZArray.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/GrowableXYZArray.js +0 -0
- package/lib/cjs/geometry3d/GrowableXYZArray.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/IndexedCollectionInterval.d.ts +0 -0
- package/lib/cjs/geometry3d/IndexedCollectionInterval.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/IndexedCollectionInterval.js +0 -0
- package/lib/cjs/geometry3d/IndexedCollectionInterval.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/IndexedXYCollection.d.ts +0 -0
- package/lib/cjs/geometry3d/IndexedXYCollection.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/IndexedXYCollection.js +0 -0
- package/lib/cjs/geometry3d/IndexedXYCollection.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/IndexedXYZCollection.d.ts +0 -0
- package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/IndexedXYZCollection.js +0 -0
- package/lib/cjs/geometry3d/IndexedXYZCollection.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/LongitudeLatitudeAltitude.d.ts +0 -0
- package/lib/cjs/geometry3d/LongitudeLatitudeAltitude.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/LongitudeLatitudeAltitude.js +0 -0
- package/lib/cjs/geometry3d/LongitudeLatitudeAltitude.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Matrix3d.d.ts +0 -0
- package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Matrix3d.js +0 -0
- package/lib/cjs/geometry3d/Matrix3d.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/OrderedRotationAngles.d.ts +0 -0
- package/lib/cjs/geometry3d/OrderedRotationAngles.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/OrderedRotationAngles.js +0 -0
- package/lib/cjs/geometry3d/OrderedRotationAngles.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndUnitNormal.d.ts +0 -0
- package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndUnitNormal.js +0 -0
- package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndVectors.d.ts +0 -0
- package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndVectors.js +0 -0
- package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point2dArrayCarrier.d.ts +0 -0
- package/lib/cjs/geometry3d/Point2dArrayCarrier.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point2dArrayCarrier.js +0 -0
- package/lib/cjs/geometry3d/Point2dArrayCarrier.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point2dVector2d.d.ts +0 -0
- package/lib/cjs/geometry3d/Point2dVector2d.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point2dVector2d.js +0 -0
- package/lib/cjs/geometry3d/Point2dVector2d.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point3dArrayCarrier.d.ts +0 -0
- package/lib/cjs/geometry3d/Point3dArrayCarrier.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point3dArrayCarrier.js +0 -0
- package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point3dVector3d.d.ts +0 -0
- package/lib/cjs/geometry3d/Point3dVector3d.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Point3dVector3d.js +0 -0
- package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PointHelpers.d.ts +0 -0
- package/lib/cjs/geometry3d/PointHelpers.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PointHelpers.js +0 -0
- package/lib/cjs/geometry3d/PointHelpers.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PointStreaming.d.ts +0 -0
- package/lib/cjs/geometry3d/PointStreaming.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PointStreaming.js +0 -0
- package/lib/cjs/geometry3d/PointStreaming.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PolygonOps.d.ts +0 -0
- package/lib/cjs/geometry3d/PolygonOps.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PolygonOps.js +0 -0
- package/lib/cjs/geometry3d/PolygonOps.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PolylineCompressionByEdgeOffset.d.ts +0 -0
- package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PolylineCompressionByEdgeOffset.js +0 -0
- package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PolylineOps.d.ts +0 -0
- package/lib/cjs/geometry3d/PolylineOps.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/PolylineOps.js +0 -0
- package/lib/cjs/geometry3d/PolylineOps.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Range.d.ts +0 -0
- package/lib/cjs/geometry3d/Range.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Range.js +0 -0
- package/lib/cjs/geometry3d/Range.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Ray3d.d.ts +0 -0
- package/lib/cjs/geometry3d/Ray3d.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Ray3d.js +0 -0
- package/lib/cjs/geometry3d/Ray3d.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/ReusableObjectCache.d.ts +0 -0
- package/lib/cjs/geometry3d/ReusableObjectCache.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/ReusableObjectCache.js +0 -0
- package/lib/cjs/geometry3d/ReusableObjectCache.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Segment1d.d.ts +0 -0
- package/lib/cjs/geometry3d/Segment1d.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Segment1d.js +0 -0
- package/lib/cjs/geometry3d/Segment1d.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/SortablePolygon.d.ts +0 -0
- package/lib/cjs/geometry3d/SortablePolygon.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/SortablePolygon.js +0 -0
- package/lib/cjs/geometry3d/SortablePolygon.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Transform.d.ts +0 -0
- package/lib/cjs/geometry3d/Transform.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/Transform.js +0 -0
- package/lib/cjs/geometry3d/Transform.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/UVSurfaceOps.d.ts +0 -0
- package/lib/cjs/geometry3d/UVSurfaceOps.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/UVSurfaceOps.js +0 -0
- package/lib/cjs/geometry3d/UVSurfaceOps.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/XYZProps.d.ts +0 -0
- package/lib/cjs/geometry3d/XYZProps.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/XYZProps.js +0 -0
- package/lib/cjs/geometry3d/XYZProps.js.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/YawPitchRollAngles.d.ts +0 -0
- package/lib/cjs/geometry3d/YawPitchRollAngles.d.ts.map +1 -0
- package/lib/{geometry3d → cjs/geometry3d}/YawPitchRollAngles.js +0 -0
- package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/Map4d.d.ts +0 -0
- package/lib/cjs/geometry4d/Map4d.d.ts.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/Map4d.js +0 -0
- package/lib/cjs/geometry4d/Map4d.js.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/Matrix4d.d.ts +0 -0
- package/lib/cjs/geometry4d/Matrix4d.d.ts.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/Matrix4d.js +0 -0
- package/lib/cjs/geometry4d/Matrix4d.js.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/MomentData.d.ts +0 -0
- package/lib/cjs/geometry4d/MomentData.d.ts.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/MomentData.js +0 -0
- package/lib/cjs/geometry4d/MomentData.js.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/PlaneByOriginAndVectors4d.d.ts +0 -0
- package/lib/cjs/geometry4d/PlaneByOriginAndVectors4d.d.ts.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/PlaneByOriginAndVectors4d.js +0 -0
- package/lib/cjs/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/Point4d.d.ts +0 -0
- package/lib/cjs/geometry4d/Point4d.d.ts.map +1 -0
- package/lib/{geometry4d → cjs/geometry4d}/Point4d.js +0 -0
- package/lib/cjs/geometry4d/Point4d.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/BandedSystem.d.ts +0 -0
- package/lib/cjs/numerics/BandedSystem.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/BandedSystem.js +0 -0
- package/lib/cjs/numerics/BandedSystem.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/BezierPolynomials.d.ts +0 -0
- package/lib/cjs/numerics/BezierPolynomials.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/BezierPolynomials.js +0 -0
- package/lib/cjs/numerics/BezierPolynomials.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/ClusterableArray.d.ts +0 -0
- package/lib/cjs/numerics/ClusterableArray.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/ClusterableArray.js +0 -0
- package/lib/cjs/numerics/ClusterableArray.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/Complex.d.ts +0 -0
- package/lib/cjs/numerics/Complex.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/Complex.js +0 -0
- package/lib/cjs/numerics/Complex.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/ConvexPolygon2d.d.ts +0 -0
- package/lib/cjs/numerics/ConvexPolygon2d.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/ConvexPolygon2d.js +0 -0
- package/lib/cjs/numerics/ConvexPolygon2d.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/Newton.d.ts +0 -0
- package/lib/cjs/numerics/Newton.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/Newton.js +0 -0
- package/lib/cjs/numerics/Newton.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/PascalCoefficients.d.ts +0 -0
- package/lib/cjs/numerics/PascalCoefficients.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/PascalCoefficients.js +0 -0
- package/lib/cjs/numerics/PascalCoefficients.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/PolarData.d.ts +0 -0
- package/lib/cjs/numerics/PolarData.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/PolarData.js +0 -0
- package/lib/cjs/numerics/PolarData.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/Polynomials.d.ts +0 -0
- package/lib/cjs/numerics/Polynomials.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/Polynomials.js +0 -0
- package/lib/cjs/numerics/Polynomials.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/Quadrature.d.ts +0 -0
- package/lib/cjs/numerics/Quadrature.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/Quadrature.js +0 -0
- package/lib/cjs/numerics/Quadrature.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/Range1dArray.d.ts +0 -0
- package/lib/cjs/numerics/Range1dArray.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/Range1dArray.js +0 -0
- package/lib/cjs/numerics/Range1dArray.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/TriDiagonalSystem.d.ts +0 -0
- package/lib/cjs/numerics/TriDiagonalSystem.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/TriDiagonalSystem.js +0 -0
- package/lib/cjs/numerics/TriDiagonalSystem.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/UnionFind.d.ts +0 -0
- package/lib/cjs/numerics/UnionFind.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/UnionFind.js +0 -0
- package/lib/cjs/numerics/UnionFind.js.map +1 -0
- package/lib/{numerics → cjs/numerics}/UsageSums.d.ts +0 -0
- package/lib/cjs/numerics/UsageSums.d.ts.map +1 -0
- package/lib/{numerics → cjs/numerics}/UsageSums.js +0 -0
- package/lib/cjs/numerics/UsageSums.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/AuxData.d.ts +0 -0
- package/lib/cjs/polyface/AuxData.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/AuxData.js +0 -0
- package/lib/cjs/polyface/AuxData.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/BoxTopology.d.ts +0 -0
- package/lib/cjs/polyface/BoxTopology.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/BoxTopology.js +0 -0
- package/lib/cjs/polyface/BoxTopology.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/FacetFaceData.d.ts +0 -0
- package/lib/cjs/polyface/FacetFaceData.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/FacetFaceData.js +0 -0
- package/lib/cjs/polyface/FacetFaceData.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/FacetOrientation.d.ts +0 -0
- package/lib/cjs/polyface/FacetOrientation.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/FacetOrientation.js +0 -0
- package/lib/cjs/polyface/FacetOrientation.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/GreedyTriangulationBetweenLineStrings.d.ts +0 -0
- package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/GreedyTriangulationBetweenLineStrings.js +0 -0
- package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/IndexedEdgeMatcher.d.ts +0 -0
- package/lib/cjs/polyface/IndexedEdgeMatcher.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/IndexedEdgeMatcher.js +0 -0
- package/lib/cjs/polyface/IndexedEdgeMatcher.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/IndexedPolyfaceVisitor.d.ts +0 -0
- package/lib/cjs/polyface/IndexedPolyfaceVisitor.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/IndexedPolyfaceVisitor.js +0 -0
- package/lib/cjs/polyface/IndexedPolyfaceVisitor.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/Polyface.d.ts +0 -0
- package/lib/cjs/polyface/Polyface.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/Polyface.js +0 -0
- package/lib/cjs/polyface/Polyface.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/PolyfaceBuilder.d.ts +0 -0
- package/lib/cjs/polyface/PolyfaceBuilder.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/PolyfaceBuilder.js +0 -0
- package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/PolyfaceClip.d.ts +0 -0
- package/lib/cjs/polyface/PolyfaceClip.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/PolyfaceClip.js +0 -0
- package/lib/cjs/polyface/PolyfaceClip.js.map +1 -0
- package/lib/cjs/polyface/PolyfaceData.d.ts +206 -0
- package/lib/cjs/polyface/PolyfaceData.d.ts.map +1 -0
- package/lib/cjs/polyface/PolyfaceData.js +531 -0
- package/lib/cjs/polyface/PolyfaceData.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/PolyfaceQuery.d.ts +0 -0
- package/lib/cjs/polyface/PolyfaceQuery.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/PolyfaceQuery.js +0 -0
- package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/RangeLengthData.d.ts +0 -0
- package/lib/cjs/polyface/RangeLengthData.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/RangeLengthData.js +0 -0
- package/lib/cjs/polyface/RangeLengthData.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/TaggedNumericData.d.ts +0 -0
- package/lib/cjs/polyface/TaggedNumericData.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/TaggedNumericData.js +0 -0
- package/lib/cjs/polyface/TaggedNumericData.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/TriangleCandidate.d.ts +0 -0
- package/lib/cjs/polyface/TriangleCandidate.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/TriangleCandidate.js +0 -0
- package/lib/cjs/polyface/TriangleCandidate.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/BuildAverageNormalsContext.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/BuildAverageNormalsContext.js +0 -0
- package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSet.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSet.js +0 -0
- package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSetWithOverflow.js +0 -0
- package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/LinearSearchRange2dArray.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/LinearSearchRange2dArray.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/LinearSearchRange2dArray.js +0 -0
- package/lib/cjs/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/Range2dSearchInterface.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/Range2dSearchInterface.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/Range2dSearchInterface.js +0 -0
- package/lib/cjs/polyface/multiclip/Range2dSearchInterface.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/RangeSearch.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/RangeSearch.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/RangeSearch.js +0 -0
- package/lib/cjs/polyface/multiclip/RangeSearch.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/SweepLineStringToFacetContext.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/SweepLineStringToFacetContext.js +0 -0
- package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/XYPointBuckets.d.ts +0 -0
- package/lib/cjs/polyface/multiclip/XYPointBuckets.d.ts.map +1 -0
- package/lib/{polyface → cjs/polyface}/multiclip/XYPointBuckets.js +0 -0
- package/lib/cjs/polyface/multiclip/XYPointBuckets.js.map +1 -0
- package/lib/{serialization → cjs/serialization}/BGFBAccessors.d.ts +0 -0
- package/lib/cjs/serialization/BGFBAccessors.d.ts.map +1 -0
- package/lib/{serialization → cjs/serialization}/BGFBAccessors.js +0 -0
- package/lib/cjs/serialization/BGFBAccessors.js.map +1 -0
- package/lib/{serialization → cjs/serialization}/BGFBReader.d.ts +0 -0
- package/lib/cjs/serialization/BGFBReader.d.ts.map +1 -0
- package/lib/{serialization → cjs/serialization}/BGFBReader.js +0 -0
- package/lib/cjs/serialization/BGFBReader.js.map +1 -0
- package/lib/{serialization → cjs/serialization}/BGFBWriter.d.ts +0 -0
- package/lib/cjs/serialization/BGFBWriter.d.ts.map +1 -0
- package/lib/{serialization → cjs/serialization}/BGFBWriter.js +0 -0
- package/lib/cjs/serialization/BGFBWriter.js.map +1 -0
- package/lib/{serialization → cjs/serialization}/BentleyGeometryFlatBuffer.d.ts +0 -0
- package/lib/cjs/serialization/BentleyGeometryFlatBuffer.d.ts.map +1 -0
- package/lib/{serialization → cjs/serialization}/BentleyGeometryFlatBuffer.js +0 -0
- package/lib/cjs/serialization/BentleyGeometryFlatBuffer.js.map +1 -0
- package/lib/{serialization → cjs/serialization}/DeepCompare.d.ts +0 -0
- package/lib/cjs/serialization/DeepCompare.d.ts.map +1 -0
- package/lib/{serialization → cjs/serialization}/DeepCompare.js +0 -0
- package/lib/cjs/serialization/DeepCompare.js.map +1 -0
- package/lib/{serialization → cjs/serialization}/GeometrySamples.d.ts +0 -0
- package/lib/cjs/serialization/GeometrySamples.d.ts.map +1 -0
- package/lib/{serialization → cjs/serialization}/GeometrySamples.js +0 -0
- package/lib/cjs/serialization/GeometrySamples.js.map +1 -0
- package/lib/{serialization → cjs/serialization}/IModelJsonSchema.d.ts +0 -0
- package/lib/cjs/serialization/IModelJsonSchema.d.ts.map +1 -0
- package/lib/{serialization → cjs/serialization}/IModelJsonSchema.js +0 -0
- package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -0
- package/lib/{solid → cjs/solid}/Box.d.ts +0 -0
- package/lib/cjs/solid/Box.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/Box.js +0 -0
- package/lib/cjs/solid/Box.js.map +1 -0
- package/lib/{solid → cjs/solid}/Cone.d.ts +0 -0
- package/lib/cjs/solid/Cone.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/Cone.js +0 -0
- package/lib/cjs/solid/Cone.js.map +1 -0
- package/lib/{solid → cjs/solid}/LinearSweep.d.ts +0 -0
- package/lib/cjs/solid/LinearSweep.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/LinearSweep.js +0 -0
- package/lib/cjs/solid/LinearSweep.js.map +1 -0
- package/lib/{solid → cjs/solid}/RotationalSweep.d.ts +0 -0
- package/lib/cjs/solid/RotationalSweep.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/RotationalSweep.js +0 -0
- package/lib/cjs/solid/RotationalSweep.js.map +1 -0
- package/lib/{solid → cjs/solid}/RuledSweep.d.ts +0 -0
- package/lib/cjs/solid/RuledSweep.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/RuledSweep.js +0 -0
- package/lib/cjs/solid/RuledSweep.js.map +1 -0
- package/lib/{solid → cjs/solid}/SolidPrimitive.d.ts +0 -0
- package/lib/cjs/solid/SolidPrimitive.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/SolidPrimitive.js +0 -0
- package/lib/cjs/solid/SolidPrimitive.js.map +1 -0
- package/lib/{solid → cjs/solid}/Sphere.d.ts +0 -0
- package/lib/cjs/solid/Sphere.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/Sphere.js +0 -0
- package/lib/cjs/solid/Sphere.js.map +1 -0
- package/lib/{solid → cjs/solid}/SweepContour.d.ts +0 -0
- package/lib/cjs/solid/SweepContour.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/SweepContour.js +0 -0
- package/lib/cjs/solid/SweepContour.js.map +1 -0
- package/lib/{solid → cjs/solid}/TorusPipe.d.ts +0 -0
- package/lib/cjs/solid/TorusPipe.d.ts.map +1 -0
- package/lib/{solid → cjs/solid}/TorusPipe.js +0 -0
- package/lib/cjs/solid/TorusPipe.js.map +1 -0
- package/lib/{topology → cjs/topology}/ChainMerge.d.ts +0 -0
- package/lib/cjs/topology/ChainMerge.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/ChainMerge.js +0 -0
- package/lib/cjs/topology/ChainMerge.js.map +1 -0
- package/lib/{topology → cjs/topology}/Graph.d.ts +0 -0
- package/lib/cjs/topology/Graph.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/Graph.js +0 -0
- package/lib/cjs/topology/Graph.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeGraphSearch.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgeGraphSearch.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeGraphSearch.js +0 -0
- package/lib/cjs/topology/HalfEdgeGraphSearch.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeGraphSpineContext.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgeGraphSpineContext.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeGraphSpineContext.js +0 -0
- package/lib/cjs/topology/HalfEdgeGraphSpineContext.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeGraphValidation.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgeGraphValidation.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeGraphValidation.js +0 -0
- package/lib/cjs/topology/HalfEdgeGraphValidation.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeMarkSet.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgeMarkSet.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeMarkSet.js +0 -0
- package/lib/cjs/topology/HalfEdgeMarkSet.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeNodeXYZUV.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgeNodeXYZUV.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgeNodeXYZUV.js +0 -0
- package/lib/cjs/topology/HalfEdgeNodeXYZUV.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgePointInGraphSearch.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgePointInGraphSearch.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgePointInGraphSearch.js +0 -0
- package/lib/cjs/topology/HalfEdgePointInGraphSearch.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgePositionDetail.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgePositionDetail.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgePositionDetail.js +0 -0
- package/lib/cjs/topology/HalfEdgePositionDetail.js.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgePriorityQueue.d.ts +0 -0
- package/lib/cjs/topology/HalfEdgePriorityQueue.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/HalfEdgePriorityQueue.js +0 -0
- package/lib/cjs/topology/HalfEdgePriorityQueue.js.map +1 -0
- package/lib/{topology → cjs/topology}/InsertAndRetriangulateContext.d.ts +0 -0
- package/lib/cjs/topology/InsertAndRetriangulateContext.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/InsertAndRetriangulateContext.js +0 -0
- package/lib/cjs/topology/InsertAndRetriangulateContext.js.map +1 -0
- package/lib/{topology → cjs/topology}/MaskManager.d.ts +0 -0
- package/lib/cjs/topology/MaskManager.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/MaskManager.js +0 -0
- package/lib/cjs/topology/MaskManager.js.map +1 -0
- package/lib/{topology → cjs/topology}/Merging.d.ts +0 -0
- package/lib/cjs/topology/Merging.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/Merging.js +0 -0
- package/lib/cjs/topology/Merging.js.map +1 -0
- package/lib/{topology → cjs/topology}/RegularizeFace.d.ts +0 -0
- package/lib/cjs/topology/RegularizeFace.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/RegularizeFace.js +0 -0
- package/lib/cjs/topology/RegularizeFace.js.map +1 -0
- package/lib/{topology → cjs/topology}/SignedDataSummary.d.ts +0 -0
- package/lib/cjs/topology/SignedDataSummary.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/SignedDataSummary.js +0 -0
- package/lib/cjs/topology/SignedDataSummary.js.map +1 -0
- package/lib/{topology → cjs/topology}/Triangulation.d.ts +0 -0
- package/lib/cjs/topology/Triangulation.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/Triangulation.js +0 -0
- package/lib/cjs/topology/Triangulation.js.map +1 -0
- package/lib/{topology → cjs/topology}/XYParitySearchContext.d.ts +0 -0
- package/lib/cjs/topology/XYParitySearchContext.d.ts.map +1 -0
- package/lib/{topology → cjs/topology}/XYParitySearchContext.js +0 -0
- package/lib/cjs/topology/XYParitySearchContext.js.map +1 -0
- package/lib/esm/Constant.d.ts +26 -0
- package/lib/esm/Constant.d.ts.map +1 -0
- package/lib/esm/Constant.js +30 -0
- package/lib/esm/Constant.js.map +1 -0
- package/lib/esm/Geometry.d.ts +498 -0
- package/lib/esm/Geometry.d.ts.map +1 -0
- package/lib/esm/Geometry.js +776 -0
- package/lib/esm/Geometry.js.map +1 -0
- package/lib/esm/bspline/AkimaCurve3d.d.ts +97 -0
- package/lib/esm/bspline/AkimaCurve3d.d.ts.map +1 -0
- package/lib/esm/bspline/AkimaCurve3d.js +158 -0
- package/lib/esm/bspline/AkimaCurve3d.js.map +1 -0
- package/lib/esm/bspline/BSpline1dNd.d.ts +96 -0
- package/lib/esm/bspline/BSpline1dNd.d.ts.map +1 -0
- package/lib/esm/bspline/BSpline1dNd.js +191 -0
- package/lib/esm/bspline/BSpline1dNd.js.map +1 -0
- package/lib/esm/bspline/BSplineCurve.d.ts +310 -0
- package/lib/esm/bspline/BSplineCurve.d.ts.map +1 -0
- package/lib/esm/bspline/BSplineCurve.js +608 -0
- package/lib/esm/bspline/BSplineCurve.js.map +1 -0
- package/lib/esm/bspline/BSplineCurve3dH.d.ts +140 -0
- package/lib/esm/bspline/BSplineCurve3dH.d.ts.map +1 -0
- package/lib/esm/bspline/BSplineCurve3dH.js +421 -0
- package/lib/esm/bspline/BSplineCurve3dH.js.map +1 -0
- package/lib/esm/bspline/BSplineCurveOps.d.ts +159 -0
- package/lib/esm/bspline/BSplineCurveOps.d.ts.map +1 -0
- package/lib/esm/bspline/BSplineCurveOps.js +805 -0
- package/lib/esm/bspline/BSplineCurveOps.js.map +1 -0
- package/lib/esm/bspline/BSplineSurface.d.ts +491 -0
- package/lib/esm/bspline/BSplineSurface.d.ts.map +1 -0
- package/lib/esm/bspline/BSplineSurface.js +837 -0
- package/lib/esm/bspline/BSplineSurface.js.map +1 -0
- package/lib/esm/bspline/Bezier1dNd.d.ts +113 -0
- package/lib/esm/bspline/Bezier1dNd.d.ts.map +1 -0
- package/lib/esm/bspline/Bezier1dNd.js +341 -0
- package/lib/esm/bspline/Bezier1dNd.js.map +1 -0
- package/lib/esm/bspline/BezierCurve3d.d.ts +76 -0
- package/lib/esm/bspline/BezierCurve3d.d.ts.map +1 -0
- package/lib/esm/bspline/BezierCurve3d.js +214 -0
- package/lib/esm/bspline/BezierCurve3d.js.map +1 -0
- package/lib/esm/bspline/BezierCurve3dH.d.ts +107 -0
- package/lib/esm/bspline/BezierCurve3dH.d.ts.map +1 -0
- package/lib/esm/bspline/BezierCurve3dH.js +348 -0
- package/lib/esm/bspline/BezierCurve3dH.js.map +1 -0
- package/lib/esm/bspline/BezierCurveBase.d.ts +111 -0
- package/lib/esm/bspline/BezierCurveBase.d.ts.map +1 -0
- package/lib/esm/bspline/BezierCurveBase.js +196 -0
- package/lib/esm/bspline/BezierCurveBase.js.map +1 -0
- package/lib/esm/bspline/InterpolationCurve3d.d.ts +163 -0
- package/lib/esm/bspline/InterpolationCurve3d.d.ts.map +1 -0
- package/lib/esm/bspline/InterpolationCurve3d.js +281 -0
- package/lib/esm/bspline/InterpolationCurve3d.js.map +1 -0
- package/lib/esm/bspline/KnotVector.d.ts +160 -0
- package/lib/esm/bspline/KnotVector.d.ts.map +1 -0
- package/lib/esm/bspline/KnotVector.js +427 -0
- package/lib/esm/bspline/KnotVector.js.map +1 -0
- package/lib/esm/bspline/SurfaceLocationDetail.d.ts +52 -0
- package/lib/esm/bspline/SurfaceLocationDetail.d.ts.map +1 -0
- package/lib/esm/bspline/SurfaceLocationDetail.js +55 -0
- package/lib/esm/bspline/SurfaceLocationDetail.js.map +1 -0
- package/lib/esm/clipping/AlternatingConvexClipTree.d.ts +165 -0
- package/lib/esm/clipping/AlternatingConvexClipTree.d.ts.map +1 -0
- package/lib/esm/clipping/AlternatingConvexClipTree.js +519 -0
- package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -0
- package/lib/esm/clipping/BooleanClipFactory.d.ts +80 -0
- package/lib/esm/clipping/BooleanClipFactory.d.ts.map +1 -0
- package/lib/esm/clipping/BooleanClipFactory.js +198 -0
- package/lib/esm/clipping/BooleanClipFactory.js.map +1 -0
- package/lib/esm/clipping/BooleanClipNode.d.ts +103 -0
- package/lib/esm/clipping/BooleanClipNode.d.ts.map +1 -0
- package/lib/esm/clipping/BooleanClipNode.js +255 -0
- package/lib/esm/clipping/BooleanClipNode.js.map +1 -0
- package/lib/esm/clipping/ClipPlane.d.ts +258 -0
- package/lib/esm/clipping/ClipPlane.d.ts.map +1 -0
- package/lib/esm/clipping/ClipPlane.js +505 -0
- package/lib/esm/clipping/ClipPlane.js.map +1 -0
- package/lib/esm/clipping/ClipPrimitive.d.ts +270 -0
- package/lib/esm/clipping/ClipPrimitive.d.ts.map +1 -0
- package/lib/esm/clipping/ClipPrimitive.js +620 -0
- package/lib/esm/clipping/ClipPrimitive.js.map +1 -0
- package/lib/esm/clipping/ClipUtils.d.ts +278 -0
- package/lib/esm/clipping/ClipUtils.d.ts.map +1 -0
- package/lib/esm/clipping/ClipUtils.js +593 -0
- package/lib/esm/clipping/ClipUtils.js.map +1 -0
- package/lib/esm/clipping/ClipVector.d.ts +154 -0
- package/lib/esm/clipping/ClipVector.d.ts.map +1 -0
- package/lib/esm/clipping/ClipVector.js +388 -0
- package/lib/esm/clipping/ClipVector.js.map +1 -0
- package/lib/esm/clipping/ConvexClipPlaneSet.d.ts +250 -0
- package/lib/esm/clipping/ConvexClipPlaneSet.d.ts.map +1 -0
- package/lib/esm/clipping/ConvexClipPlaneSet.js +685 -0
- package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -0
- package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts +126 -0
- package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -0
- package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js +325 -0
- package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js.map +1 -0
- package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts +42 -0
- package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -0
- package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js +160 -0
- package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -0
- package/lib/esm/core-geometry.d.ts +228 -0
- package/lib/esm/core-geometry.d.ts.map +1 -0
- package/lib/esm/core-geometry.js +247 -0
- package/lib/esm/core-geometry.js.map +1 -0
- package/lib/esm/curve/Arc3d.d.ts +477 -0
- package/lib/esm/curve/Arc3d.d.ts.map +1 -0
- package/lib/esm/curve/Arc3d.js +905 -0
- package/lib/esm/curve/Arc3d.js.map +1 -0
- package/lib/esm/curve/ChainCollectorContext.d.ts +65 -0
- package/lib/esm/curve/ChainCollectorContext.d.ts.map +1 -0
- package/lib/esm/curve/ChainCollectorContext.js +175 -0
- package/lib/esm/curve/ChainCollectorContext.js.map +1 -0
- package/lib/esm/curve/ConstructCurveBetweenCurves.d.ts +46 -0
- package/lib/esm/curve/ConstructCurveBetweenCurves.d.ts.map +1 -0
- package/lib/esm/curve/ConstructCurveBetweenCurves.js +112 -0
- package/lib/esm/curve/ConstructCurveBetweenCurves.js.map +1 -0
- package/lib/esm/curve/CoordinateXYZ.d.ts +54 -0
- package/lib/esm/curve/CoordinateXYZ.d.ts.map +1 -0
- package/lib/esm/curve/CoordinateXYZ.js +75 -0
- package/lib/esm/curve/CoordinateXYZ.js.map +1 -0
- package/lib/esm/curve/CurveChain.d.ts +17 -0
- package/lib/esm/curve/CurveChain.d.ts.map +1 -0
- package/lib/esm/curve/CurveChain.js +6 -0
- package/lib/esm/curve/CurveChain.js.map +1 -0
- package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts +234 -0
- package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts.map +1 -0
- package/lib/esm/curve/CurveChainWithDistanceIndex.js +513 -0
- package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -0
- package/lib/esm/curve/CurveCollection.d.ts +204 -0
- package/lib/esm/curve/CurveCollection.d.ts.map +1 -0
- package/lib/esm/curve/CurveCollection.js +338 -0
- package/lib/esm/curve/CurveCollection.js.map +1 -0
- package/lib/esm/curve/CurveCurve.d.ts +56 -0
- package/lib/esm/curve/CurveCurve.d.ts.map +1 -0
- package/lib/esm/curve/CurveCurve.js +96 -0
- package/lib/esm/curve/CurveCurve.js.map +1 -0
- package/lib/esm/curve/CurveCurveCloseApproachXY.d.ts +158 -0
- package/lib/esm/curve/CurveCurveCloseApproachXY.d.ts.map +1 -0
- package/lib/esm/curve/CurveCurveCloseApproachXY.js +720 -0
- package/lib/esm/curve/CurveCurveCloseApproachXY.js.map +1 -0
- package/lib/esm/curve/CurveCurveIntersectXY.d.ts +148 -0
- package/lib/esm/curve/CurveCurveIntersectXY.d.ts.map +1 -0
- package/lib/esm/curve/CurveCurveIntersectXY.js +814 -0
- package/lib/esm/curve/CurveCurveIntersectXY.js.map +1 -0
- package/lib/esm/curve/CurveCurveIntersectXYZ.d.ts +101 -0
- package/lib/esm/curve/CurveCurveIntersectXYZ.d.ts.map +1 -0
- package/lib/esm/curve/CurveCurveIntersectXYZ.js +669 -0
- package/lib/esm/curve/CurveCurveIntersectXYZ.js.map +1 -0
- package/lib/esm/curve/CurveExtendMode.d.ts +50 -0
- package/lib/esm/curve/CurveExtendMode.d.ts.map +1 -0
- package/lib/esm/curve/CurveExtendMode.js +96 -0
- package/lib/esm/curve/CurveExtendMode.js.map +1 -0
- package/lib/esm/curve/CurveFactory.d.ts +122 -0
- package/lib/esm/curve/CurveFactory.d.ts.map +1 -0
- package/lib/esm/curve/CurveFactory.js +491 -0
- package/lib/esm/curve/CurveFactory.js.map +1 -0
- package/lib/esm/curve/CurveLocationDetail.d.ts +207 -0
- package/lib/esm/curve/CurveLocationDetail.d.ts.map +1 -0
- package/lib/esm/curve/CurveLocationDetail.js +392 -0
- package/lib/esm/curve/CurveLocationDetail.js.map +1 -0
- package/lib/esm/curve/CurvePrimitive.d.ts +363 -0
- package/lib/esm/curve/CurvePrimitive.d.ts.map +1 -0
- package/lib/esm/curve/CurvePrimitive.js +774 -0
- package/lib/esm/curve/CurvePrimitive.js.map +1 -0
- package/lib/esm/curve/CurveProcessor.d.ts +76 -0
- package/lib/esm/curve/CurveProcessor.d.ts.map +1 -0
- package/lib/esm/curve/CurveProcessor.js +122 -0
- package/lib/esm/curve/CurveProcessor.js.map +1 -0
- package/lib/esm/curve/CurveWireMomentsXYZ.d.ts +25 -0
- package/lib/esm/curve/CurveWireMomentsXYZ.d.ts.map +1 -0
- package/lib/esm/curve/CurveWireMomentsXYZ.js +65 -0
- package/lib/esm/curve/CurveWireMomentsXYZ.js.map +1 -0
- package/lib/esm/curve/GeometryQuery.d.ts +93 -0
- package/lib/esm/curve/GeometryQuery.d.ts.map +1 -0
- package/lib/esm/curve/GeometryQuery.js +68 -0
- package/lib/esm/curve/GeometryQuery.js.map +1 -0
- package/lib/esm/curve/LineSegment3d.d.ts +176 -0
- package/lib/esm/curve/LineSegment3d.d.ts.map +1 -0
- package/lib/esm/curve/LineSegment3d.js +315 -0
- package/lib/esm/curve/LineSegment3d.js.map +1 -0
- package/lib/esm/curve/LineString3d.d.ts +419 -0
- package/lib/esm/curve/LineString3d.d.ts.map +1 -0
- package/lib/esm/curve/LineString3d.js +1280 -0
- package/lib/esm/curve/LineString3d.js.map +1 -0
- package/lib/esm/curve/Loop.d.ts +82 -0
- package/lib/esm/curve/Loop.d.ts.map +1 -0
- package/lib/esm/curve/Loop.js +93 -0
- package/lib/esm/curve/Loop.js.map +1 -0
- package/lib/esm/curve/ParityRegion.d.ts +59 -0
- package/lib/esm/curve/ParityRegion.d.ts.map +1 -0
- package/lib/esm/curve/ParityRegion.js +113 -0
- package/lib/esm/curve/ParityRegion.js.map +1 -0
- package/lib/esm/curve/Path.d.ts +47 -0
- package/lib/esm/curve/Path.d.ts.map +1 -0
- package/lib/esm/curve/Path.js +71 -0
- package/lib/esm/curve/Path.js.map +1 -0
- package/lib/esm/curve/PointString3d.d.ts +78 -0
- package/lib/esm/curve/PointString3d.d.ts.map +1 -0
- package/lib/esm/curve/PointString3d.js +174 -0
- package/lib/esm/curve/PointString3d.js.map +1 -0
- package/lib/esm/curve/ProxyCurve.d.ts +59 -0
- package/lib/esm/curve/ProxyCurve.d.ts.map +1 -0
- package/lib/esm/curve/ProxyCurve.js +78 -0
- package/lib/esm/curve/ProxyCurve.js.map +1 -0
- package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts +25 -0
- package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +1 -0
- package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js +111 -0
- package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -0
- package/lib/esm/curve/Query/CurveSplitContext.d.ts +16 -0
- package/lib/esm/curve/Query/CurveSplitContext.d.ts.map +1 -0
- package/lib/esm/curve/Query/CurveSplitContext.js +107 -0
- package/lib/esm/curve/Query/CurveSplitContext.js.map +1 -0
- package/lib/esm/curve/Query/CylindricalRange.d.ts +46 -0
- package/lib/esm/curve/Query/CylindricalRange.d.ts.map +1 -0
- package/lib/esm/curve/Query/CylindricalRange.js +111 -0
- package/lib/esm/curve/Query/CylindricalRange.js.map +1 -0
- package/lib/esm/curve/Query/InOutTests.d.ts +32 -0
- package/lib/esm/curve/Query/InOutTests.d.ts.map +1 -0
- package/lib/esm/curve/Query/InOutTests.js +116 -0
- package/lib/esm/curve/Query/InOutTests.js.map +1 -0
- package/lib/esm/curve/Query/PlanarSubdivision.d.ts +16 -0
- package/lib/esm/curve/Query/PlanarSubdivision.d.ts.map +1 -0
- package/lib/esm/curve/Query/PlanarSubdivision.js +220 -0
- package/lib/esm/curve/Query/PlanarSubdivision.js.map +1 -0
- package/lib/esm/curve/Query/StrokeCountChain.d.ts +186 -0
- package/lib/esm/curve/Query/StrokeCountChain.d.ts.map +1 -0
- package/lib/esm/curve/Query/StrokeCountChain.js +429 -0
- package/lib/esm/curve/Query/StrokeCountChain.js.map +1 -0
- package/lib/esm/curve/Query/StrokeCountMap.d.ts +94 -0
- package/lib/esm/curve/Query/StrokeCountMap.d.ts.map +1 -0
- package/lib/esm/curve/Query/StrokeCountMap.js +138 -0
- package/lib/esm/curve/Query/StrokeCountMap.js.map +1 -0
- package/lib/esm/curve/RegionMomentsXY.d.ts +61 -0
- package/lib/esm/curve/RegionMomentsXY.d.ts.map +1 -0
- package/lib/esm/curve/RegionMomentsXY.js +156 -0
- package/lib/esm/curve/RegionMomentsXY.js.map +1 -0
- package/lib/esm/curve/RegionOps.d.ts +320 -0
- package/lib/esm/curve/RegionOps.d.ts.map +1 -0
- package/lib/esm/curve/RegionOps.js +642 -0
- package/lib/esm/curve/RegionOps.js.map +1 -0
- package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts +263 -0
- package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts.map +1 -0
- package/lib/esm/curve/RegionOpsClassificationSweeps.js +703 -0
- package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -0
- package/lib/esm/curve/StrokeOptions.d.ts +94 -0
- package/lib/esm/curve/StrokeOptions.d.ts.map +1 -0
- package/lib/esm/curve/StrokeOptions.js +149 -0
- package/lib/esm/curve/StrokeOptions.js.map +1 -0
- package/lib/esm/curve/UnionRegion.d.ts +49 -0
- package/lib/esm/curve/UnionRegion.d.ts.map +1 -0
- package/lib/esm/curve/UnionRegion.js +75 -0
- package/lib/esm/curve/UnionRegion.js.map +1 -0
- package/lib/esm/curve/internalContexts/CloneCurvesContext.d.ts +23 -0
- package/lib/esm/curve/internalContexts/CloneCurvesContext.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/CloneCurvesContext.js +62 -0
- package/lib/esm/curve/internalContexts/CloneCurvesContext.js.map +1 -0
- package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.d.ts +16 -0
- package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js +36 -0
- package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -0
- package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.d.ts +18 -0
- package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js +32 -0
- package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -0
- package/lib/esm/curve/internalContexts/GapSearchContext.d.ts +16 -0
- package/lib/esm/curve/internalContexts/GapSearchContext.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/GapSearchContext.js +34 -0
- package/lib/esm/curve/internalContexts/GapSearchContext.js.map +1 -0
- package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts +114 -0
- package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/MultiChainCollector.js +403 -0
- package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -0
- package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts +38 -0
- package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js +88 -0
- package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -0
- package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts +117 -0
- package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/PolygonOffsetContext.js +686 -0
- package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -0
- package/lib/esm/curve/internalContexts/SumLengthsContext.d.ts +17 -0
- package/lib/esm/curve/internalContexts/SumLengthsContext.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/SumLengthsContext.js +21 -0
- package/lib/esm/curve/internalContexts/SumLengthsContext.js.map +1 -0
- package/lib/esm/curve/internalContexts/TransformInPlaceContext.d.ts +19 -0
- package/lib/esm/curve/internalContexts/TransformInPlaceContext.d.ts.map +1 -0
- package/lib/esm/curve/internalContexts/TransformInPlaceContext.js +19 -0
- package/lib/esm/curve/internalContexts/TransformInPlaceContext.js.map +1 -0
- package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts +41 -0
- package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -0
- package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js +124 -0
- package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -0
- package/lib/esm/curve/spiral/ClothoidSeries.d.ts +66 -0
- package/lib/esm/curve/spiral/ClothoidSeries.d.ts.map +1 -0
- package/lib/esm/curve/spiral/ClothoidSeries.js +220 -0
- package/lib/esm/curve/spiral/ClothoidSeries.js.map +1 -0
- package/lib/esm/curve/spiral/CubicEvaluator.d.ts +43 -0
- package/lib/esm/curve/spiral/CubicEvaluator.d.ts.map +1 -0
- package/lib/esm/curve/spiral/CubicEvaluator.js +67 -0
- package/lib/esm/curve/spiral/CubicEvaluator.js.map +1 -0
- package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts +108 -0
- package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -0
- package/lib/esm/curve/spiral/CzechSpiralEvaluator.js +198 -0
- package/lib/esm/curve/spiral/CzechSpiralEvaluator.js.map +1 -0
- package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts +39 -0
- package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -0
- package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js +88 -0
- package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -0
- package/lib/esm/curve/spiral/DirectSpiral3d.d.ts +265 -0
- package/lib/esm/curve/spiral/DirectSpiral3d.d.ts.map +1 -0
- package/lib/esm/curve/spiral/DirectSpiral3d.js +469 -0
- package/lib/esm/curve/spiral/DirectSpiral3d.js.map +1 -0
- package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts +158 -0
- package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -0
- package/lib/esm/curve/spiral/IntegratedSpiral3d.js +360 -0
- package/lib/esm/curve/spiral/IntegratedSpiral3d.js.map +1 -0
- package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +38 -0
- package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -0
- package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js +72 -0
- package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -0
- package/lib/esm/curve/spiral/NormalizedTransition.d.ts +140 -0
- package/lib/esm/curve/spiral/NormalizedTransition.d.ts.map +1 -0
- package/lib/esm/curve/spiral/NormalizedTransition.js +182 -0
- package/lib/esm/curve/spiral/NormalizedTransition.js.map +1 -0
- package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts +50 -0
- package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -0
- package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js +109 -0
- package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -0
- package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts +53 -0
- package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -0
- package/lib/esm/curve/spiral/TransitionConditionalProperties.js +142 -0
- package/lib/esm/curve/spiral/TransitionConditionalProperties.js.map +1 -0
- package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts +101 -0
- package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts.map +1 -0
- package/lib/esm/curve/spiral/TransitionSpiral3d.js +106 -0
- package/lib/esm/curve/spiral/TransitionSpiral3d.js.map +1 -0
- package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts +80 -0
- package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts.map +1 -0
- package/lib/esm/curve/spiral/XYCurveEvaluator.js +103 -0
- package/lib/esm/curve/spiral/XYCurveEvaluator.js.map +1 -0
- package/lib/esm/geometry3d/Angle.d.ts +214 -0
- package/lib/esm/geometry3d/Angle.d.ts.map +1 -0
- package/lib/esm/geometry3d/Angle.js +399 -0
- package/lib/esm/geometry3d/Angle.js.map +1 -0
- package/lib/esm/geometry3d/AngleSweep.d.ts +187 -0
- package/lib/esm/geometry3d/AngleSweep.d.ts.map +1 -0
- package/lib/esm/geometry3d/AngleSweep.js +325 -0
- package/lib/esm/geometry3d/AngleSweep.js.map +1 -0
- package/lib/esm/geometry3d/BarycentricTriangle.d.ts +51 -0
- package/lib/esm/geometry3d/BarycentricTriangle.d.ts.map +1 -0
- package/lib/esm/geometry3d/BarycentricTriangle.js +97 -0
- package/lib/esm/geometry3d/BarycentricTriangle.js.map +1 -0
- package/lib/esm/geometry3d/BilinearPatch.d.ts +107 -0
- package/lib/esm/geometry3d/BilinearPatch.d.ts.map +1 -0
- package/lib/esm/geometry3d/BilinearPatch.js +200 -0
- package/lib/esm/geometry3d/BilinearPatch.js.map +1 -0
- package/lib/esm/geometry3d/CoincidentGeometryOps.d.ts +56 -0
- package/lib/esm/geometry3d/CoincidentGeometryOps.d.ts.map +1 -0
- package/lib/esm/geometry3d/CoincidentGeometryOps.js +196 -0
- package/lib/esm/geometry3d/CoincidentGeometryOps.js.map +1 -0
- package/lib/esm/geometry3d/Ellipsoid.d.ts +388 -0
- package/lib/esm/geometry3d/Ellipsoid.d.ts.map +1 -0
- package/lib/esm/geometry3d/Ellipsoid.js +1069 -0
- package/lib/esm/geometry3d/Ellipsoid.js.map +1 -0
- package/lib/esm/geometry3d/FrameBuilder.d.ts +91 -0
- package/lib/esm/geometry3d/FrameBuilder.d.ts.map +1 -0
- package/lib/esm/geometry3d/FrameBuilder.js +315 -0
- package/lib/esm/geometry3d/FrameBuilder.js.map +1 -0
- package/lib/esm/geometry3d/FrustumAnimation.d.ts +59 -0
- package/lib/esm/geometry3d/FrustumAnimation.d.ts.map +1 -0
- package/lib/esm/geometry3d/FrustumAnimation.js +119 -0
- package/lib/esm/geometry3d/FrustumAnimation.js.map +1 -0
- package/lib/esm/geometry3d/GeometryHandler.d.ts +329 -0
- package/lib/esm/geometry3d/GeometryHandler.d.ts.map +1 -0
- package/lib/esm/geometry3d/GeometryHandler.js +169 -0
- package/lib/esm/geometry3d/GeometryHandler.js.map +1 -0
- package/lib/esm/geometry3d/GrowableBlockedArray.d.ts +71 -0
- package/lib/esm/geometry3d/GrowableBlockedArray.d.ts.map +1 -0
- package/lib/esm/geometry3d/GrowableBlockedArray.js +158 -0
- package/lib/esm/geometry3d/GrowableBlockedArray.js.map +1 -0
- package/lib/esm/geometry3d/GrowableFloat64Array.d.ts +132 -0
- package/lib/esm/geometry3d/GrowableFloat64Array.d.ts.map +1 -0
- package/lib/esm/geometry3d/GrowableFloat64Array.js +249 -0
- package/lib/esm/geometry3d/GrowableFloat64Array.js.map +1 -0
- package/lib/esm/geometry3d/GrowableXYArray.d.ts +204 -0
- package/lib/esm/geometry3d/GrowableXYArray.d.ts.map +1 -0
- package/lib/esm/geometry3d/GrowableXYArray.js +621 -0
- package/lib/esm/geometry3d/GrowableXYArray.js.map +1 -0
- package/lib/esm/geometry3d/GrowableXYZArray.d.ts +324 -0
- package/lib/esm/geometry3d/GrowableXYZArray.d.ts.map +1 -0
- package/lib/esm/geometry3d/GrowableXYZArray.js +975 -0
- package/lib/esm/geometry3d/GrowableXYZArray.js.map +1 -0
- package/lib/esm/geometry3d/IndexedCollectionInterval.d.ts +63 -0
- package/lib/esm/geometry3d/IndexedCollectionInterval.d.ts.map +1 -0
- package/lib/esm/geometry3d/IndexedCollectionInterval.js +105 -0
- package/lib/esm/geometry3d/IndexedCollectionInterval.js.map +1 -0
- package/lib/esm/geometry3d/IndexedXYCollection.d.ts +69 -0
- package/lib/esm/geometry3d/IndexedXYCollection.d.ts.map +1 -0
- package/lib/esm/geometry3d/IndexedXYCollection.js +16 -0
- package/lib/esm/geometry3d/IndexedXYCollection.js.map +1 -0
- package/lib/esm/geometry3d/IndexedXYZCollection.d.ts +149 -0
- package/lib/esm/geometry3d/IndexedXYZCollection.d.ts.map +1 -0
- package/lib/esm/geometry3d/IndexedXYZCollection.js +98 -0
- package/lib/esm/geometry3d/IndexedXYZCollection.js.map +1 -0
- package/lib/esm/geometry3d/LongitudeLatitudeAltitude.d.ts +63 -0
- package/lib/esm/geometry3d/LongitudeLatitudeAltitude.d.ts.map +1 -0
- package/lib/esm/geometry3d/LongitudeLatitudeAltitude.js +119 -0
- package/lib/esm/geometry3d/LongitudeLatitudeAltitude.js.map +1 -0
- package/lib/esm/geometry3d/Matrix3d.d.ts +885 -0
- package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -0
- package/lib/esm/geometry3d/Matrix3d.js +2269 -0
- package/lib/esm/geometry3d/Matrix3d.js.map +1 -0
- package/lib/esm/geometry3d/OrderedRotationAngles.d.ts +61 -0
- package/lib/esm/geometry3d/OrderedRotationAngles.d.ts.map +1 -0
- package/lib/esm/geometry3d/OrderedRotationAngles.js +228 -0
- package/lib/esm/geometry3d/OrderedRotationAngles.js.map +1 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.d.ts +122 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +1 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js +237 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndVectors.d.ts +119 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndVectors.d.ts.map +1 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js +238 -0
- package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js.map +1 -0
- package/lib/esm/geometry3d/Point2dArrayCarrier.d.ts +74 -0
- package/lib/esm/geometry3d/Point2dArrayCarrier.d.ts.map +1 -0
- package/lib/esm/geometry3d/Point2dArrayCarrier.js +111 -0
- package/lib/esm/geometry3d/Point2dArrayCarrier.js.map +1 -0
- package/lib/esm/geometry3d/Point2dVector2d.d.ts +209 -0
- package/lib/esm/geometry3d/Point2dVector2d.d.ts.map +1 -0
- package/lib/esm/geometry3d/Point2dVector2d.js +461 -0
- package/lib/esm/geometry3d/Point2dVector2d.js.map +1 -0
- package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts +142 -0
- package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts.map +1 -0
- package/lib/esm/geometry3d/Point3dArrayCarrier.js +233 -0
- package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -0
- package/lib/esm/geometry3d/Point3dVector3d.d.ts +699 -0
- package/lib/esm/geometry3d/Point3dVector3d.d.ts.map +1 -0
- package/lib/esm/geometry3d/Point3dVector3d.js +1294 -0
- package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -0
- package/lib/esm/geometry3d/PointHelpers.d.ts +263 -0
- package/lib/esm/geometry3d/PointHelpers.d.ts.map +1 -0
- package/lib/esm/geometry3d/PointHelpers.js +898 -0
- package/lib/esm/geometry3d/PointHelpers.js.map +1 -0
- package/lib/esm/geometry3d/PointStreaming.d.ts +87 -0
- package/lib/esm/geometry3d/PointStreaming.d.ts.map +1 -0
- package/lib/esm/geometry3d/PointStreaming.js +181 -0
- package/lib/esm/geometry3d/PointStreaming.js.map +1 -0
- package/lib/esm/geometry3d/PolygonOps.d.ts +306 -0
- package/lib/esm/geometry3d/PolygonOps.d.ts.map +1 -0
- package/lib/esm/geometry3d/PolygonOps.js +986 -0
- package/lib/esm/geometry3d/PolygonOps.js.map +1 -0
- package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.d.ts +81 -0
- package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.d.ts.map +1 -0
- package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js +274 -0
- package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -0
- package/lib/esm/geometry3d/PolylineOps.d.ts +63 -0
- package/lib/esm/geometry3d/PolylineOps.d.ts.map +1 -0
- package/lib/esm/geometry3d/PolylineOps.js +172 -0
- package/lib/esm/geometry3d/PolylineOps.js.map +1 -0
- package/lib/esm/geometry3d/Range.d.ts +599 -0
- package/lib/esm/geometry3d/Range.d.ts.map +1 -0
- package/lib/esm/geometry3d/Range.js +1424 -0
- package/lib/esm/geometry3d/Range.js.map +1 -0
- package/lib/esm/geometry3d/Ray3d.d.ts +146 -0
- package/lib/esm/geometry3d/Ray3d.d.ts.map +1 -0
- package/lib/esm/geometry3d/Ray3d.js +325 -0
- package/lib/esm/geometry3d/Ray3d.js.map +1 -0
- package/lib/esm/geometry3d/ReusableObjectCache.d.ts +55 -0
- package/lib/esm/geometry3d/ReusableObjectCache.d.ts.map +1 -0
- package/lib/esm/geometry3d/ReusableObjectCache.js +82 -0
- package/lib/esm/geometry3d/ReusableObjectCache.js.map +1 -0
- package/lib/esm/geometry3d/Segment1d.d.ts +106 -0
- package/lib/esm/geometry3d/Segment1d.d.ts.map +1 -0
- package/lib/esm/geometry3d/Segment1d.js +169 -0
- package/lib/esm/geometry3d/Segment1d.js.map +1 -0
- package/lib/esm/geometry3d/SortablePolygon.d.ts +50 -0
- package/lib/esm/geometry3d/SortablePolygon.d.ts.map +1 -0
- package/lib/esm/geometry3d/SortablePolygon.js +312 -0
- package/lib/esm/geometry3d/SortablePolygon.js.map +1 -0
- package/lib/esm/geometry3d/Transform.d.ts +275 -0
- package/lib/esm/geometry3d/Transform.d.ts.map +1 -0
- package/lib/esm/geometry3d/Transform.js +570 -0
- package/lib/esm/geometry3d/Transform.js.map +1 -0
- package/lib/esm/geometry3d/UVSurfaceOps.d.ts +43 -0
- package/lib/esm/geometry3d/UVSurfaceOps.d.ts.map +1 -0
- package/lib/esm/geometry3d/UVSurfaceOps.js +98 -0
- package/lib/esm/geometry3d/UVSurfaceOps.js.map +1 -0
- package/lib/esm/geometry3d/XYZProps.d.ts +143 -0
- package/lib/esm/geometry3d/XYZProps.d.ts.map +1 -0
- package/lib/esm/geometry3d/XYZProps.js +6 -0
- package/lib/esm/geometry3d/XYZProps.js.map +1 -0
- package/lib/esm/geometry3d/YawPitchRollAngles.d.ts +111 -0
- package/lib/esm/geometry3d/YawPitchRollAngles.d.ts.map +1 -0
- package/lib/esm/geometry3d/YawPitchRollAngles.js +195 -0
- package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -0
- package/lib/esm/geometry4d/Map4d.d.ts +73 -0
- package/lib/esm/geometry4d/Map4d.d.ts.map +1 -0
- package/lib/esm/geometry4d/Map4d.js +147 -0
- package/lib/esm/geometry4d/Map4d.js.map +1 -0
- package/lib/esm/geometry4d/Matrix4d.d.ts +284 -0
- package/lib/esm/geometry4d/Matrix4d.d.ts.map +1 -0
- package/lib/esm/geometry4d/Matrix4d.js +739 -0
- package/lib/esm/geometry4d/Matrix4d.js.map +1 -0
- package/lib/esm/geometry4d/MomentData.d.ts +180 -0
- package/lib/esm/geometry4d/MomentData.d.ts.map +1 -0
- package/lib/esm/geometry4d/MomentData.js +384 -0
- package/lib/esm/geometry4d/MomentData.js.map +1 -0
- package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.d.ts +43 -0
- package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.d.ts.map +1 -0
- package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.js +81 -0
- package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -0
- package/lib/esm/geometry4d/Point4d.d.ts +257 -0
- package/lib/esm/geometry4d/Point4d.d.ts.map +1 -0
- package/lib/esm/geometry4d/Point4d.js +552 -0
- package/lib/esm/geometry4d/Point4d.js.map +1 -0
- package/lib/esm/numerics/BandedSystem.d.ts +39 -0
- package/lib/esm/numerics/BandedSystem.d.ts.map +1 -0
- package/lib/esm/numerics/BandedSystem.js +156 -0
- package/lib/esm/numerics/BandedSystem.js.map +1 -0
- package/lib/esm/numerics/BezierPolynomials.d.ts +462 -0
- package/lib/esm/numerics/BezierPolynomials.d.ts.map +1 -0
- package/lib/esm/numerics/BezierPolynomials.js +1189 -0
- package/lib/esm/numerics/BezierPolynomials.js.map +1 -0
- package/lib/esm/numerics/ClusterableArray.d.ts +162 -0
- package/lib/esm/numerics/ClusterableArray.d.ts.map +1 -0
- package/lib/esm/numerics/ClusterableArray.js +477 -0
- package/lib/esm/numerics/ClusterableArray.js.map +1 -0
- package/lib/esm/numerics/Complex.d.ts +63 -0
- package/lib/esm/numerics/Complex.d.ts.map +1 -0
- package/lib/esm/numerics/Complex.js +116 -0
- package/lib/esm/numerics/Complex.js.map +1 -0
- package/lib/esm/numerics/ConvexPolygon2d.d.ts +86 -0
- package/lib/esm/numerics/ConvexPolygon2d.d.ts.map +1 -0
- package/lib/esm/numerics/ConvexPolygon2d.js +313 -0
- package/lib/esm/numerics/ConvexPolygon2d.js.map +1 -0
- package/lib/esm/numerics/Newton.d.ts +188 -0
- package/lib/esm/numerics/Newton.d.ts.map +1 -0
- package/lib/esm/numerics/Newton.js +247 -0
- package/lib/esm/numerics/Newton.js.map +1 -0
- package/lib/esm/numerics/PascalCoefficients.d.ts +33 -0
- package/lib/esm/numerics/PascalCoefficients.d.ts.map +1 -0
- package/lib/esm/numerics/PascalCoefficients.js +91 -0
- package/lib/esm/numerics/PascalCoefficients.js.map +1 -0
- package/lib/esm/numerics/PolarData.d.ts +42 -0
- package/lib/esm/numerics/PolarData.d.ts.map +1 -0
- package/lib/esm/numerics/PolarData.js +162 -0
- package/lib/esm/numerics/PolarData.js.map +1 -0
- package/lib/esm/numerics/Polynomials.d.ts +653 -0
- package/lib/esm/numerics/Polynomials.d.ts.map +1 -0
- package/lib/esm/numerics/Polynomials.js +1697 -0
- package/lib/esm/numerics/Polynomials.js.map +1 -0
- package/lib/esm/numerics/Quadrature.d.ts +91 -0
- package/lib/esm/numerics/Quadrature.d.ts.map +1 -0
- package/lib/esm/numerics/Quadrature.js +199 -0
- package/lib/esm/numerics/Quadrature.js.map +1 -0
- package/lib/esm/numerics/Range1dArray.d.ts +80 -0
- package/lib/esm/numerics/Range1dArray.d.ts.map +1 -0
- package/lib/esm/numerics/Range1dArray.js +358 -0
- package/lib/esm/numerics/Range1dArray.js.map +1 -0
- package/lib/esm/numerics/TriDiagonalSystem.d.ts +51 -0
- package/lib/esm/numerics/TriDiagonalSystem.d.ts.map +1 -0
- package/lib/esm/numerics/TriDiagonalSystem.js +270 -0
- package/lib/esm/numerics/TriDiagonalSystem.js.map +1 -0
- package/lib/esm/numerics/UnionFind.d.ts +49 -0
- package/lib/esm/numerics/UnionFind.d.ts.map +1 -0
- package/lib/esm/numerics/UnionFind.js +117 -0
- package/lib/esm/numerics/UnionFind.js.map +1 -0
- package/lib/esm/numerics/UsageSums.d.ts +86 -0
- package/lib/esm/numerics/UsageSums.d.ts.map +1 -0
- package/lib/esm/numerics/UsageSums.js +128 -0
- package/lib/esm/numerics/UsageSums.js.map +1 -0
- package/lib/esm/polyface/AuxData.d.ts +112 -0
- package/lib/esm/polyface/AuxData.d.ts.map +1 -0
- package/lib/esm/polyface/AuxData.js +228 -0
- package/lib/esm/polyface/AuxData.js.map +1 -0
- package/lib/esm/polyface/BoxTopology.d.ts +38 -0
- package/lib/esm/polyface/BoxTopology.d.ts.map +1 -0
- package/lib/esm/polyface/BoxTopology.js +99 -0
- package/lib/esm/polyface/BoxTopology.js.map +1 -0
- package/lib/esm/polyface/FacetFaceData.d.ts +44 -0
- package/lib/esm/polyface/FacetFaceData.d.ts.map +1 -0
- package/lib/esm/polyface/FacetFaceData.js +142 -0
- package/lib/esm/polyface/FacetFaceData.js.map +1 -0
- package/lib/esm/polyface/FacetOrientation.d.ts +39 -0
- package/lib/esm/polyface/FacetOrientation.d.ts.map +1 -0
- package/lib/esm/polyface/FacetOrientation.js +192 -0
- package/lib/esm/polyface/FacetOrientation.js.map +1 -0
- package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.d.ts +61 -0
- package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.d.ts.map +1 -0
- package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js +245 -0
- package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -0
- package/lib/esm/polyface/IndexedEdgeMatcher.d.ts +87 -0
- package/lib/esm/polyface/IndexedEdgeMatcher.d.ts.map +1 -0
- package/lib/esm/polyface/IndexedEdgeMatcher.js +192 -0
- package/lib/esm/polyface/IndexedEdgeMatcher.js.map +1 -0
- package/lib/esm/polyface/IndexedPolyfaceVisitor.d.ts +109 -0
- package/lib/esm/polyface/IndexedPolyfaceVisitor.d.ts.map +1 -0
- package/lib/esm/polyface/IndexedPolyfaceVisitor.js +237 -0
- package/lib/esm/polyface/IndexedPolyfaceVisitor.js.map +1 -0
- package/lib/esm/polyface/Polyface.d.ts +254 -0
- package/lib/esm/polyface/Polyface.d.ts.map +1 -0
- package/lib/esm/polyface/Polyface.js +501 -0
- package/lib/esm/polyface/Polyface.js.map +1 -0
- package/lib/esm/polyface/PolyfaceBuilder.d.ts +395 -0
- package/lib/esm/polyface/PolyfaceBuilder.d.ts.map +1 -0
- package/lib/esm/polyface/PolyfaceBuilder.js +1634 -0
- package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -0
- package/lib/esm/polyface/PolyfaceClip.d.ts +172 -0
- package/lib/esm/polyface/PolyfaceClip.d.ts.map +1 -0
- package/lib/esm/polyface/PolyfaceClip.js +565 -0
- package/lib/esm/polyface/PolyfaceClip.js.map +1 -0
- package/lib/esm/polyface/PolyfaceData.d.ts +206 -0
- package/lib/esm/polyface/PolyfaceData.d.ts.map +1 -0
- package/lib/esm/polyface/PolyfaceData.js +527 -0
- package/lib/esm/polyface/PolyfaceData.js.map +1 -0
- package/lib/esm/polyface/PolyfaceQuery.d.ts +302 -0
- package/lib/esm/polyface/PolyfaceQuery.d.ts.map +1 -0
- package/lib/esm/polyface/PolyfaceQuery.js +947 -0
- package/lib/esm/polyface/PolyfaceQuery.js.map +1 -0
- package/lib/esm/polyface/RangeLengthData.d.ts +31 -0
- package/lib/esm/polyface/RangeLengthData.d.ts.map +1 -0
- package/lib/esm/polyface/RangeLengthData.js +39 -0
- package/lib/esm/polyface/RangeLengthData.js.map +1 -0
- package/lib/esm/polyface/TaggedNumericData.d.ts +95 -0
- package/lib/esm/polyface/TaggedNumericData.d.ts.map +1 -0
- package/lib/esm/polyface/TaggedNumericData.js +160 -0
- package/lib/esm/polyface/TaggedNumericData.js.map +1 -0
- package/lib/esm/polyface/TriangleCandidate.d.ts +64 -0
- package/lib/esm/polyface/TriangleCandidate.d.ts.map +1 -0
- package/lib/esm/polyface/TriangleCandidate.js +116 -0
- package/lib/esm/polyface/TriangleCandidate.js.map +1 -0
- package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.d.ts +29 -0
- package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js +160 -0
- package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.d.ts +81 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js +159 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts +53 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js +74 -0
- package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -0
- package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.d.ts +44 -0
- package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.js +80 -0
- package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -0
- package/lib/esm/polyface/multiclip/Range2dSearchInterface.d.ts +32 -0
- package/lib/esm/polyface/multiclip/Range2dSearchInterface.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/Range2dSearchInterface.js +9 -0
- package/lib/esm/polyface/multiclip/Range2dSearchInterface.js.map +1 -0
- package/lib/esm/polyface/multiclip/RangeSearch.d.ts +27 -0
- package/lib/esm/polyface/multiclip/RangeSearch.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/RangeSearch.js +49 -0
- package/lib/esm/polyface/multiclip/RangeSearch.js.map +1 -0
- package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.d.ts +25 -0
- package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js +90 -0
- package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -0
- package/lib/esm/polyface/multiclip/XYPointBuckets.d.ts +73 -0
- package/lib/esm/polyface/multiclip/XYPointBuckets.d.ts.map +1 -0
- package/lib/esm/polyface/multiclip/XYPointBuckets.js +192 -0
- package/lib/esm/polyface/multiclip/XYPointBuckets.js.map +1 -0
- package/lib/esm/serialization/BGFBAccessors.d.ts +3426 -0
- package/lib/esm/serialization/BGFBAccessors.d.ts.map +1 -0
- package/lib/esm/serialization/BGFBAccessors.js +5543 -0
- package/lib/esm/serialization/BGFBAccessors.js.map +1 -0
- package/lib/esm/serialization/BGFBReader.d.ts +118 -0
- package/lib/esm/serialization/BGFBReader.d.ts.map +1 -0
- package/lib/esm/serialization/BGFBReader.js +661 -0
- package/lib/esm/serialization/BGFBReader.js.map +1 -0
- package/lib/esm/serialization/BGFBWriter.d.ts +69 -0
- package/lib/esm/serialization/BGFBWriter.d.ts.map +1 -0
- package/lib/esm/serialization/BGFBWriter.js +587 -0
- package/lib/esm/serialization/BGFBWriter.js.map +1 -0
- package/lib/esm/serialization/BentleyGeometryFlatBuffer.d.ts +23 -0
- package/lib/esm/serialization/BentleyGeometryFlatBuffer.d.ts.map +1 -0
- package/lib/esm/serialization/BentleyGeometryFlatBuffer.js +26 -0
- package/lib/esm/serialization/BentleyGeometryFlatBuffer.js.map +1 -0
- package/lib/esm/serialization/DeepCompare.d.ts +41 -0
- package/lib/esm/serialization/DeepCompare.d.ts.map +1 -0
- package/lib/esm/serialization/DeepCompare.js +185 -0
- package/lib/esm/serialization/DeepCompare.js.map +1 -0
- package/lib/esm/serialization/GeometrySamples.d.ts +616 -0
- package/lib/esm/serialization/GeometrySamples.d.ts.map +1 -0
- package/lib/esm/serialization/GeometrySamples.js +2124 -0
- package/lib/esm/serialization/GeometrySamples.js.map +1 -0
- package/lib/esm/serialization/IModelJsonSchema.d.ts +671 -0
- package/lib/esm/serialization/IModelJsonSchema.d.ts.map +1 -0
- package/lib/esm/serialization/IModelJsonSchema.js +1523 -0
- package/lib/esm/serialization/IModelJsonSchema.js.map +1 -0
- package/lib/esm/solid/Box.d.ts +122 -0
- package/lib/esm/solid/Box.d.ts.map +1 -0
- package/lib/esm/solid/Box.js +229 -0
- package/lib/esm/solid/Box.js.map +1 -0
- package/lib/esm/solid/Cone.d.ts +119 -0
- package/lib/esm/solid/Cone.d.ts.map +1 -0
- package/lib/esm/solid/Cone.js +267 -0
- package/lib/esm/solid/Cone.js.map +1 -0
- package/lib/esm/solid/LinearSweep.d.ts +81 -0
- package/lib/esm/solid/LinearSweep.d.ts.map +1 -0
- package/lib/esm/solid/LinearSweep.js +143 -0
- package/lib/esm/solid/LinearSweep.js.map +1 -0
- package/lib/esm/solid/RotationalSweep.d.ts +71 -0
- package/lib/esm/solid/RotationalSweep.d.ts.map +1 -0
- package/lib/esm/solid/RotationalSweep.js +139 -0
- package/lib/esm/solid/RotationalSweep.js.map +1 -0
- package/lib/esm/solid/RuledSweep.d.ts +76 -0
- package/lib/esm/solid/RuledSweep.d.ts.map +1 -0
- package/lib/esm/solid/RuledSweep.js +202 -0
- package/lib/esm/solid/RuledSweep.js.map +1 -0
- package/lib/esm/solid/SolidPrimitive.d.ts +63 -0
- package/lib/esm/solid/SolidPrimitive.d.ts.map +1 -0
- package/lib/esm/solid/SolidPrimitive.js +23 -0
- package/lib/esm/solid/SolidPrimitive.js.map +1 -0
- package/lib/esm/solid/Sphere.d.ts +120 -0
- package/lib/esm/solid/Sphere.d.ts.map +1 -0
- package/lib/esm/solid/Sphere.js +294 -0
- package/lib/esm/solid/Sphere.js.map +1 -0
- package/lib/esm/solid/SweepContour.d.ts +82 -0
- package/lib/esm/solid/SweepContour.d.ts.map +1 -0
- package/lib/esm/solid/SweepContour.js +250 -0
- package/lib/esm/solid/SweepContour.js.map +1 -0
- package/lib/esm/solid/TorusPipe.d.ts +123 -0
- package/lib/esm/solid/TorusPipe.d.ts.map +1 -0
- package/lib/esm/solid/TorusPipe.js +296 -0
- package/lib/esm/solid/TorusPipe.js.map +1 -0
- package/lib/esm/topology/ChainMerge.d.ts +119 -0
- package/lib/esm/topology/ChainMerge.d.ts.map +1 -0
- package/lib/esm/topology/ChainMerge.js +280 -0
- package/lib/esm/topology/ChainMerge.js.map +1 -0
- package/lib/esm/topology/Graph.d.ts +591 -0
- package/lib/esm/topology/Graph.d.ts.map +1 -0
- package/lib/esm/topology/Graph.js +1156 -0
- package/lib/esm/topology/Graph.js.map +1 -0
- package/lib/esm/topology/HalfEdgeGraphSearch.d.ts +125 -0
- package/lib/esm/topology/HalfEdgeGraphSearch.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgeGraphSearch.js +296 -0
- package/lib/esm/topology/HalfEdgeGraphSearch.js.map +1 -0
- package/lib/esm/topology/HalfEdgeGraphSpineContext.d.ts +98 -0
- package/lib/esm/topology/HalfEdgeGraphSpineContext.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgeGraphSpineContext.js +519 -0
- package/lib/esm/topology/HalfEdgeGraphSpineContext.js.map +1 -0
- package/lib/esm/topology/HalfEdgeGraphValidation.d.ts +52 -0
- package/lib/esm/topology/HalfEdgeGraphValidation.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgeGraphValidation.js +107 -0
- package/lib/esm/topology/HalfEdgeGraphValidation.js.map +1 -0
- package/lib/esm/topology/HalfEdgeMarkSet.d.ts +232 -0
- package/lib/esm/topology/HalfEdgeMarkSet.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgeMarkSet.js +369 -0
- package/lib/esm/topology/HalfEdgeMarkSet.js.map +1 -0
- package/lib/esm/topology/HalfEdgeNodeXYZUV.d.ts +51 -0
- package/lib/esm/topology/HalfEdgeNodeXYZUV.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgeNodeXYZUV.js +93 -0
- package/lib/esm/topology/HalfEdgeNodeXYZUV.js.map +1 -0
- package/lib/esm/topology/HalfEdgePointInGraphSearch.d.ts +34 -0
- package/lib/esm/topology/HalfEdgePointInGraphSearch.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgePointInGraphSearch.js +252 -0
- package/lib/esm/topology/HalfEdgePointInGraphSearch.js.map +1 -0
- package/lib/esm/topology/HalfEdgePositionDetail.d.ts +97 -0
- package/lib/esm/topology/HalfEdgePositionDetail.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgePositionDetail.js +173 -0
- package/lib/esm/topology/HalfEdgePositionDetail.js.map +1 -0
- package/lib/esm/topology/HalfEdgePriorityQueue.d.ts +34 -0
- package/lib/esm/topology/HalfEdgePriorityQueue.d.ts.map +1 -0
- package/lib/esm/topology/HalfEdgePriorityQueue.js +68 -0
- package/lib/esm/topology/HalfEdgePriorityQueue.js.map +1 -0
- package/lib/esm/topology/InsertAndRetriangulateContext.d.ts +38 -0
- package/lib/esm/topology/InsertAndRetriangulateContext.d.ts.map +1 -0
- package/lib/esm/topology/InsertAndRetriangulateContext.js +239 -0
- package/lib/esm/topology/InsertAndRetriangulateContext.js.map +1 -0
- package/lib/esm/topology/MaskManager.d.ts +33 -0
- package/lib/esm/topology/MaskManager.d.ts.map +1 -0
- package/lib/esm/topology/MaskManager.js +63 -0
- package/lib/esm/topology/MaskManager.js.map +1 -0
- package/lib/esm/topology/Merging.d.ts +90 -0
- package/lib/esm/topology/Merging.d.ts.map +1 -0
- package/lib/esm/topology/Merging.js +362 -0
- package/lib/esm/topology/Merging.js.map +1 -0
- package/lib/esm/topology/RegularizeFace.d.ts +106 -0
- package/lib/esm/topology/RegularizeFace.d.ts.map +1 -0
- package/lib/esm/topology/RegularizeFace.js +367 -0
- package/lib/esm/topology/RegularizeFace.js.map +1 -0
- package/lib/esm/topology/SignedDataSummary.d.ts +37 -0
- package/lib/esm/topology/SignedDataSummary.d.ts.map +1 -0
- package/lib/esm/topology/SignedDataSummary.js +54 -0
- package/lib/esm/topology/SignedDataSummary.js.map +1 -0
- package/lib/esm/topology/Triangulation.d.ts +230 -0
- package/lib/esm/topology/Triangulation.d.ts.map +1 -0
- package/lib/esm/topology/Triangulation.js +945 -0
- package/lib/esm/topology/Triangulation.js.map +1 -0
- package/lib/esm/topology/XYParitySearchContext.d.ts +54 -0
- package/lib/esm/topology/XYParitySearchContext.d.ts.map +1 -0
- package/lib/esm/topology/XYParitySearchContext.js +138 -0
- package/lib/esm/topology/XYParitySearchContext.js.map +1 -0
- package/package.json +11 -8
- package/lib/Constant.d.ts.map +0 -1
- package/lib/Constant.js.map +0 -1
- package/lib/Geometry.d.ts.map +0 -1
- package/lib/Geometry.js.map +0 -1
- package/lib/bspline/AkimaCurve3d.d.ts.map +0 -1
- package/lib/bspline/AkimaCurve3d.js.map +0 -1
- package/lib/bspline/BSpline1dNd.d.ts.map +0 -1
- package/lib/bspline/BSpline1dNd.js.map +0 -1
- package/lib/bspline/BSplineCurve.d.ts.map +0 -1
- package/lib/bspline/BSplineCurve.js.map +0 -1
- package/lib/bspline/BSplineCurve3dH.d.ts.map +0 -1
- package/lib/bspline/BSplineCurve3dH.js.map +0 -1
- package/lib/bspline/BSplineCurveOps.d.ts.map +0 -1
- package/lib/bspline/BSplineCurveOps.js.map +0 -1
- package/lib/bspline/BSplineSurface.d.ts +0 -485
- package/lib/bspline/BSplineSurface.d.ts.map +0 -1
- package/lib/bspline/BSplineSurface.js.map +0 -1
- package/lib/bspline/Bezier1dNd.d.ts.map +0 -1
- package/lib/bspline/Bezier1dNd.js.map +0 -1
- package/lib/bspline/BezierCurve3d.d.ts.map +0 -1
- package/lib/bspline/BezierCurve3d.js.map +0 -1
- package/lib/bspline/BezierCurve3dH.d.ts.map +0 -1
- package/lib/bspline/BezierCurve3dH.js.map +0 -1
- package/lib/bspline/BezierCurveBase.d.ts.map +0 -1
- package/lib/bspline/BezierCurveBase.js.map +0 -1
- package/lib/bspline/InterpolationCurve3d.d.ts.map +0 -1
- package/lib/bspline/InterpolationCurve3d.js.map +0 -1
- package/lib/bspline/KnotVector.d.ts.map +0 -1
- package/lib/bspline/KnotVector.js.map +0 -1
- package/lib/bspline/SurfaceLocationDetail.d.ts.map +0 -1
- package/lib/bspline/SurfaceLocationDetail.js.map +0 -1
- package/lib/clipping/AlternatingConvexClipTree.d.ts.map +0 -1
- package/lib/clipping/AlternatingConvexClipTree.js.map +0 -1
- package/lib/clipping/BooleanClipFactory.d.ts.map +0 -1
- package/lib/clipping/BooleanClipFactory.js.map +0 -1
- package/lib/clipping/BooleanClipNode.d.ts.map +0 -1
- package/lib/clipping/BooleanClipNode.js.map +0 -1
- package/lib/clipping/ClipPlane.d.ts.map +0 -1
- package/lib/clipping/ClipPlane.js.map +0 -1
- package/lib/clipping/ClipPrimitive.d.ts.map +0 -1
- package/lib/clipping/ClipPrimitive.js.map +0 -1
- package/lib/clipping/ClipUtils.d.ts.map +0 -1
- package/lib/clipping/ClipUtils.js.map +0 -1
- package/lib/clipping/ClipVector.d.ts.map +0 -1
- package/lib/clipping/ClipVector.js.map +0 -1
- package/lib/clipping/ConvexClipPlaneSet.d.ts.map +0 -1
- package/lib/clipping/ConvexClipPlaneSet.js.map +0 -1
- package/lib/clipping/UnionOfConvexClipPlaneSets.d.ts.map +0 -1
- package/lib/clipping/UnionOfConvexClipPlaneSets.js.map +0 -1
- package/lib/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +0 -1
- package/lib/clipping/internalContexts/LineStringOffsetClipperContext.js.map +0 -1
- package/lib/core-geometry.d.ts.map +0 -1
- package/lib/core-geometry.js.map +0 -1
- package/lib/curve/Arc3d.d.ts.map +0 -1
- package/lib/curve/Arc3d.js.map +0 -1
- package/lib/curve/ChainCollectorContext.d.ts.map +0 -1
- package/lib/curve/ChainCollectorContext.js.map +0 -1
- package/lib/curve/ConstructCurveBetweenCurves.d.ts.map +0 -1
- package/lib/curve/ConstructCurveBetweenCurves.js.map +0 -1
- package/lib/curve/CoordinateXYZ.d.ts.map +0 -1
- package/lib/curve/CoordinateXYZ.js.map +0 -1
- package/lib/curve/CurveChain.d.ts.map +0 -1
- package/lib/curve/CurveChain.js.map +0 -1
- package/lib/curve/CurveChainWithDistanceIndex.d.ts.map +0 -1
- package/lib/curve/CurveChainWithDistanceIndex.js.map +0 -1
- package/lib/curve/CurveCollection.d.ts.map +0 -1
- package/lib/curve/CurveCollection.js.map +0 -1
- package/lib/curve/CurveCurve.d.ts.map +0 -1
- package/lib/curve/CurveCurve.js.map +0 -1
- package/lib/curve/CurveCurveCloseApproachXY.d.ts.map +0 -1
- package/lib/curve/CurveCurveCloseApproachXY.js.map +0 -1
- package/lib/curve/CurveCurveIntersectXY.d.ts.map +0 -1
- package/lib/curve/CurveCurveIntersectXY.js.map +0 -1
- package/lib/curve/CurveCurveIntersectXYZ.d.ts.map +0 -1
- package/lib/curve/CurveCurveIntersectXYZ.js.map +0 -1
- package/lib/curve/CurveExtendMode.d.ts.map +0 -1
- package/lib/curve/CurveExtendMode.js.map +0 -1
- package/lib/curve/CurveFactory.d.ts.map +0 -1
- package/lib/curve/CurveFactory.js.map +0 -1
- package/lib/curve/CurveLocationDetail.d.ts.map +0 -1
- package/lib/curve/CurveLocationDetail.js.map +0 -1
- package/lib/curve/CurvePrimitive.d.ts.map +0 -1
- package/lib/curve/CurvePrimitive.js.map +0 -1
- package/lib/curve/CurveProcessor.d.ts.map +0 -1
- package/lib/curve/CurveProcessor.js.map +0 -1
- package/lib/curve/CurveWireMomentsXYZ.d.ts.map +0 -1
- package/lib/curve/CurveWireMomentsXYZ.js.map +0 -1
- package/lib/curve/GeometryQuery.d.ts.map +0 -1
- package/lib/curve/GeometryQuery.js.map +0 -1
- package/lib/curve/LineSegment3d.d.ts.map +0 -1
- package/lib/curve/LineSegment3d.js.map +0 -1
- package/lib/curve/LineString3d.d.ts.map +0 -1
- package/lib/curve/LineString3d.js.map +0 -1
- package/lib/curve/Loop.d.ts.map +0 -1
- package/lib/curve/Loop.js.map +0 -1
- package/lib/curve/ParityRegion.d.ts.map +0 -1
- package/lib/curve/ParityRegion.js.map +0 -1
- package/lib/curve/Path.d.ts.map +0 -1
- package/lib/curve/Path.js.map +0 -1
- package/lib/curve/PointString3d.d.ts.map +0 -1
- package/lib/curve/PointString3d.js.map +0 -1
- package/lib/curve/ProxyCurve.d.ts.map +0 -1
- package/lib/curve/ProxyCurve.js.map +0 -1
- package/lib/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +0 -1
- package/lib/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +0 -1
- package/lib/curve/Query/CurveSplitContext.d.ts.map +0 -1
- package/lib/curve/Query/CurveSplitContext.js.map +0 -1
- package/lib/curve/Query/CylindricalRange.d.ts.map +0 -1
- package/lib/curve/Query/CylindricalRange.js.map +0 -1
- package/lib/curve/Query/InOutTests.d.ts.map +0 -1
- package/lib/curve/Query/InOutTests.js.map +0 -1
- package/lib/curve/Query/PlanarSubdivision.d.ts.map +0 -1
- package/lib/curve/Query/PlanarSubdivision.js.map +0 -1
- package/lib/curve/Query/StrokeCountChain.d.ts.map +0 -1
- package/lib/curve/Query/StrokeCountChain.js.map +0 -1
- package/lib/curve/Query/StrokeCountMap.d.ts.map +0 -1
- package/lib/curve/Query/StrokeCountMap.js.map +0 -1
- package/lib/curve/RegionMomentsXY.d.ts.map +0 -1
- package/lib/curve/RegionMomentsXY.js.map +0 -1
- package/lib/curve/RegionOps.d.ts.map +0 -1
- package/lib/curve/RegionOps.js.map +0 -1
- package/lib/curve/RegionOpsClassificationSweeps.d.ts.map +0 -1
- package/lib/curve/RegionOpsClassificationSweeps.js.map +0 -1
- package/lib/curve/StrokeOptions.d.ts.map +0 -1
- package/lib/curve/StrokeOptions.js.map +0 -1
- package/lib/curve/UnionRegion.d.ts.map +0 -1
- package/lib/curve/UnionRegion.js.map +0 -1
- package/lib/curve/internalContexts/CloneCurvesContext.d.ts.map +0 -1
- package/lib/curve/internalContexts/CloneCurvesContext.js.map +0 -1
- package/lib/curve/internalContexts/CloneWithExpandedLineStrings.d.ts.map +0 -1
- package/lib/curve/internalContexts/CloneWithExpandedLineStrings.js.map +0 -1
- package/lib/curve/internalContexts/CountLinearPartsSearchContext.d.ts.map +0 -1
- package/lib/curve/internalContexts/CountLinearPartsSearchContext.js.map +0 -1
- package/lib/curve/internalContexts/GapSearchContext.d.ts.map +0 -1
- package/lib/curve/internalContexts/GapSearchContext.js.map +0 -1
- package/lib/curve/internalContexts/MultiChainCollector.d.ts.map +0 -1
- package/lib/curve/internalContexts/MultiChainCollector.js.map +0 -1
- package/lib/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +0 -1
- package/lib/curve/internalContexts/PlaneAltitudeRangeContext.js.map +0 -1
- package/lib/curve/internalContexts/PolygonOffsetContext.d.ts.map +0 -1
- package/lib/curve/internalContexts/PolygonOffsetContext.js.map +0 -1
- package/lib/curve/internalContexts/SumLengthsContext.d.ts.map +0 -1
- package/lib/curve/internalContexts/SumLengthsContext.js.map +0 -1
- package/lib/curve/internalContexts/TransformInPlaceContext.d.ts.map +0 -1
- package/lib/curve/internalContexts/TransformInPlaceContext.js.map +0 -1
- package/lib/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +0 -1
- package/lib/curve/spiral/AustralianRailCorpXYEvaluator.js.map +0 -1
- package/lib/curve/spiral/ClothoidSeries.d.ts.map +0 -1
- package/lib/curve/spiral/ClothoidSeries.js.map +0 -1
- package/lib/curve/spiral/CubicEvaluator.d.ts.map +0 -1
- package/lib/curve/spiral/CubicEvaluator.js.map +0 -1
- package/lib/curve/spiral/CzechSpiralEvaluator.d.ts.map +0 -1
- package/lib/curve/spiral/CzechSpiralEvaluator.js.map +0 -1
- package/lib/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +0 -1
- package/lib/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +0 -1
- package/lib/curve/spiral/DirectSpiral3d.d.ts +0 -264
- package/lib/curve/spiral/DirectSpiral3d.d.ts.map +0 -1
- package/lib/curve/spiral/DirectSpiral3d.js +0 -464
- package/lib/curve/spiral/DirectSpiral3d.js.map +0 -1
- package/lib/curve/spiral/IntegratedSpiral3d.d.ts +0 -154
- package/lib/curve/spiral/IntegratedSpiral3d.d.ts.map +0 -1
- package/lib/curve/spiral/IntegratedSpiral3d.js +0 -351
- package/lib/curve/spiral/IntegratedSpiral3d.js.map +0 -1
- package/lib/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +0 -1
- package/lib/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +0 -1
- package/lib/curve/spiral/NormalizedTransition.d.ts.map +0 -1
- package/lib/curve/spiral/NormalizedTransition.js.map +0 -1
- package/lib/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +0 -1
- package/lib/curve/spiral/PolishCubicSpiralEvaluator.js.map +0 -1
- package/lib/curve/spiral/TransitionConditionalProperties.d.ts.map +0 -1
- package/lib/curve/spiral/TransitionConditionalProperties.js.map +0 -1
- package/lib/curve/spiral/TransitionSpiral3d.d.ts.map +0 -1
- package/lib/curve/spiral/TransitionSpiral3d.js.map +0 -1
- package/lib/curve/spiral/XYCurveEvaluator.d.ts.map +0 -1
- package/lib/curve/spiral/XYCurveEvaluator.js.map +0 -1
- package/lib/geometry3d/Angle.d.ts.map +0 -1
- package/lib/geometry3d/Angle.js.map +0 -1
- package/lib/geometry3d/AngleSweep.d.ts.map +0 -1
- package/lib/geometry3d/AngleSweep.js.map +0 -1
- package/lib/geometry3d/BarycentricTriangle.d.ts.map +0 -1
- package/lib/geometry3d/BarycentricTriangle.js.map +0 -1
- package/lib/geometry3d/BilinearPatch.d.ts.map +0 -1
- package/lib/geometry3d/BilinearPatch.js.map +0 -1
- package/lib/geometry3d/CoincidentGeometryOps.d.ts.map +0 -1
- package/lib/geometry3d/CoincidentGeometryOps.js.map +0 -1
- package/lib/geometry3d/Ellipsoid.d.ts.map +0 -1
- package/lib/geometry3d/Ellipsoid.js.map +0 -1
- package/lib/geometry3d/FrameBuilder.d.ts.map +0 -1
- package/lib/geometry3d/FrameBuilder.js.map +0 -1
- package/lib/geometry3d/FrustumAnimation.d.ts.map +0 -1
- package/lib/geometry3d/FrustumAnimation.js.map +0 -1
- package/lib/geometry3d/GeometryHandler.d.ts.map +0 -1
- package/lib/geometry3d/GeometryHandler.js.map +0 -1
- package/lib/geometry3d/GrowableBlockedArray.d.ts.map +0 -1
- package/lib/geometry3d/GrowableBlockedArray.js.map +0 -1
- package/lib/geometry3d/GrowableFloat64Array.d.ts.map +0 -1
- package/lib/geometry3d/GrowableFloat64Array.js.map +0 -1
- package/lib/geometry3d/GrowableXYArray.d.ts.map +0 -1
- package/lib/geometry3d/GrowableXYArray.js.map +0 -1
- package/lib/geometry3d/GrowableXYZArray.d.ts.map +0 -1
- package/lib/geometry3d/GrowableXYZArray.js.map +0 -1
- package/lib/geometry3d/IndexedCollectionInterval.d.ts.map +0 -1
- package/lib/geometry3d/IndexedCollectionInterval.js.map +0 -1
- package/lib/geometry3d/IndexedXYCollection.d.ts.map +0 -1
- package/lib/geometry3d/IndexedXYCollection.js.map +0 -1
- package/lib/geometry3d/IndexedXYZCollection.d.ts.map +0 -1
- package/lib/geometry3d/IndexedXYZCollection.js.map +0 -1
- package/lib/geometry3d/LongitudeLatitudeAltitude.d.ts.map +0 -1
- package/lib/geometry3d/LongitudeLatitudeAltitude.js.map +0 -1
- package/lib/geometry3d/Matrix3d.d.ts.map +0 -1
- package/lib/geometry3d/Matrix3d.js.map +0 -1
- package/lib/geometry3d/OrderedRotationAngles.d.ts.map +0 -1
- package/lib/geometry3d/OrderedRotationAngles.js.map +0 -1
- package/lib/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +0 -1
- package/lib/geometry3d/Plane3dByOriginAndUnitNormal.js.map +0 -1
- package/lib/geometry3d/Plane3dByOriginAndVectors.d.ts.map +0 -1
- package/lib/geometry3d/Plane3dByOriginAndVectors.js.map +0 -1
- package/lib/geometry3d/Point2dArrayCarrier.d.ts.map +0 -1
- package/lib/geometry3d/Point2dArrayCarrier.js.map +0 -1
- package/lib/geometry3d/Point2dVector2d.d.ts.map +0 -1
- package/lib/geometry3d/Point2dVector2d.js.map +0 -1
- package/lib/geometry3d/Point3dArrayCarrier.d.ts.map +0 -1
- package/lib/geometry3d/Point3dArrayCarrier.js.map +0 -1
- package/lib/geometry3d/Point3dVector3d.d.ts.map +0 -1
- package/lib/geometry3d/Point3dVector3d.js.map +0 -1
- package/lib/geometry3d/PointHelpers.d.ts.map +0 -1
- package/lib/geometry3d/PointHelpers.js.map +0 -1
- package/lib/geometry3d/PointStreaming.d.ts.map +0 -1
- package/lib/geometry3d/PointStreaming.js.map +0 -1
- package/lib/geometry3d/PolygonOps.d.ts.map +0 -1
- package/lib/geometry3d/PolygonOps.js.map +0 -1
- package/lib/geometry3d/PolylineCompressionByEdgeOffset.d.ts.map +0 -1
- package/lib/geometry3d/PolylineCompressionByEdgeOffset.js.map +0 -1
- package/lib/geometry3d/PolylineOps.d.ts.map +0 -1
- package/lib/geometry3d/PolylineOps.js.map +0 -1
- package/lib/geometry3d/Range.d.ts.map +0 -1
- package/lib/geometry3d/Range.js.map +0 -1
- package/lib/geometry3d/Ray3d.d.ts.map +0 -1
- package/lib/geometry3d/Ray3d.js.map +0 -1
- package/lib/geometry3d/ReusableObjectCache.d.ts.map +0 -1
- package/lib/geometry3d/ReusableObjectCache.js.map +0 -1
- package/lib/geometry3d/Segment1d.d.ts.map +0 -1
- package/lib/geometry3d/Segment1d.js.map +0 -1
- package/lib/geometry3d/SortablePolygon.d.ts.map +0 -1
- package/lib/geometry3d/SortablePolygon.js.map +0 -1
- package/lib/geometry3d/Transform.d.ts.map +0 -1
- package/lib/geometry3d/Transform.js.map +0 -1
- package/lib/geometry3d/UVSurfaceOps.d.ts.map +0 -1
- package/lib/geometry3d/UVSurfaceOps.js.map +0 -1
- package/lib/geometry3d/XYZProps.d.ts.map +0 -1
- package/lib/geometry3d/XYZProps.js.map +0 -1
- package/lib/geometry3d/YawPitchRollAngles.d.ts.map +0 -1
- package/lib/geometry3d/YawPitchRollAngles.js.map +0 -1
- package/lib/geometry4d/Map4d.d.ts.map +0 -1
- package/lib/geometry4d/Map4d.js.map +0 -1
- package/lib/geometry4d/Matrix4d.d.ts.map +0 -1
- package/lib/geometry4d/Matrix4d.js.map +0 -1
- package/lib/geometry4d/MomentData.d.ts.map +0 -1
- package/lib/geometry4d/MomentData.js.map +0 -1
- package/lib/geometry4d/PlaneByOriginAndVectors4d.d.ts.map +0 -1
- package/lib/geometry4d/PlaneByOriginAndVectors4d.js.map +0 -1
- package/lib/geometry4d/Point4d.d.ts.map +0 -1
- package/lib/geometry4d/Point4d.js.map +0 -1
- package/lib/numerics/BandedSystem.d.ts.map +0 -1
- package/lib/numerics/BandedSystem.js.map +0 -1
- package/lib/numerics/BezierPolynomials.d.ts.map +0 -1
- package/lib/numerics/BezierPolynomials.js.map +0 -1
- package/lib/numerics/ClusterableArray.d.ts.map +0 -1
- package/lib/numerics/ClusterableArray.js.map +0 -1
- package/lib/numerics/Complex.d.ts.map +0 -1
- package/lib/numerics/Complex.js.map +0 -1
- package/lib/numerics/ConvexPolygon2d.d.ts.map +0 -1
- package/lib/numerics/ConvexPolygon2d.js.map +0 -1
- package/lib/numerics/Newton.d.ts.map +0 -1
- package/lib/numerics/Newton.js.map +0 -1
- package/lib/numerics/PascalCoefficients.d.ts.map +0 -1
- package/lib/numerics/PascalCoefficients.js.map +0 -1
- package/lib/numerics/PolarData.d.ts.map +0 -1
- package/lib/numerics/PolarData.js.map +0 -1
- package/lib/numerics/Polynomials.d.ts.map +0 -1
- package/lib/numerics/Polynomials.js.map +0 -1
- package/lib/numerics/Quadrature.d.ts.map +0 -1
- package/lib/numerics/Quadrature.js.map +0 -1
- package/lib/numerics/Range1dArray.d.ts.map +0 -1
- package/lib/numerics/Range1dArray.js.map +0 -1
- package/lib/numerics/TriDiagonalSystem.d.ts.map +0 -1
- package/lib/numerics/TriDiagonalSystem.js.map +0 -1
- package/lib/numerics/UnionFind.d.ts.map +0 -1
- package/lib/numerics/UnionFind.js.map +0 -1
- package/lib/numerics/UsageSums.d.ts.map +0 -1
- package/lib/numerics/UsageSums.js.map +0 -1
- package/lib/polyface/AuxData.d.ts.map +0 -1
- package/lib/polyface/AuxData.js.map +0 -1
- package/lib/polyface/BoxTopology.d.ts.map +0 -1
- package/lib/polyface/BoxTopology.js.map +0 -1
- package/lib/polyface/FacetFaceData.d.ts.map +0 -1
- package/lib/polyface/FacetFaceData.js.map +0 -1
- package/lib/polyface/FacetOrientation.d.ts.map +0 -1
- package/lib/polyface/FacetOrientation.js.map +0 -1
- package/lib/polyface/GreedyTriangulationBetweenLineStrings.d.ts.map +0 -1
- package/lib/polyface/GreedyTriangulationBetweenLineStrings.js.map +0 -1
- package/lib/polyface/IndexedEdgeMatcher.d.ts.map +0 -1
- package/lib/polyface/IndexedEdgeMatcher.js.map +0 -1
- package/lib/polyface/IndexedPolyfaceVisitor.d.ts.map +0 -1
- package/lib/polyface/IndexedPolyfaceVisitor.js.map +0 -1
- package/lib/polyface/Polyface.d.ts.map +0 -1
- package/lib/polyface/Polyface.js.map +0 -1
- package/lib/polyface/PolyfaceBuilder.d.ts.map +0 -1
- package/lib/polyface/PolyfaceBuilder.js.map +0 -1
- package/lib/polyface/PolyfaceClip.d.ts.map +0 -1
- package/lib/polyface/PolyfaceClip.js.map +0 -1
- package/lib/polyface/PolyfaceData.d.ts +0 -170
- package/lib/polyface/PolyfaceData.d.ts.map +0 -1
- package/lib/polyface/PolyfaceData.js +0 -531
- package/lib/polyface/PolyfaceData.js.map +0 -1
- package/lib/polyface/PolyfaceQuery.d.ts.map +0 -1
- package/lib/polyface/PolyfaceQuery.js.map +0 -1
- package/lib/polyface/RangeLengthData.d.ts.map +0 -1
- package/lib/polyface/RangeLengthData.js.map +0 -1
- package/lib/polyface/TaggedNumericData.d.ts.map +0 -1
- package/lib/polyface/TaggedNumericData.js.map +0 -1
- package/lib/polyface/TriangleCandidate.d.ts.map +0 -1
- package/lib/polyface/TriangleCandidate.js.map +0 -1
- package/lib/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +0 -1
- package/lib/polyface/multiclip/BuildAverageNormalsContext.js.map +0 -1
- package/lib/polyface/multiclip/GriddedRaggedRange2dSet.d.ts.map +0 -1
- package/lib/polyface/multiclip/GriddedRaggedRange2dSet.js.map +0 -1
- package/lib/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts.map +0 -1
- package/lib/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +0 -1
- package/lib/polyface/multiclip/LinearSearchRange2dArray.d.ts.map +0 -1
- package/lib/polyface/multiclip/LinearSearchRange2dArray.js.map +0 -1
- package/lib/polyface/multiclip/Range2dSearchInterface.d.ts.map +0 -1
- package/lib/polyface/multiclip/Range2dSearchInterface.js.map +0 -1
- package/lib/polyface/multiclip/RangeSearch.d.ts.map +0 -1
- package/lib/polyface/multiclip/RangeSearch.js.map +0 -1
- package/lib/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +0 -1
- package/lib/polyface/multiclip/SweepLineStringToFacetContext.js.map +0 -1
- package/lib/polyface/multiclip/XYPointBuckets.d.ts.map +0 -1
- package/lib/polyface/multiclip/XYPointBuckets.js.map +0 -1
- package/lib/serialization/BGFBAccessors.d.ts.map +0 -1
- package/lib/serialization/BGFBAccessors.js.map +0 -1
- package/lib/serialization/BGFBReader.d.ts.map +0 -1
- package/lib/serialization/BGFBReader.js.map +0 -1
- package/lib/serialization/BGFBWriter.d.ts.map +0 -1
- package/lib/serialization/BGFBWriter.js.map +0 -1
- package/lib/serialization/BentleyGeometryFlatBuffer.d.ts.map +0 -1
- package/lib/serialization/BentleyGeometryFlatBuffer.js.map +0 -1
- package/lib/serialization/DeepCompare.d.ts.map +0 -1
- package/lib/serialization/DeepCompare.js.map +0 -1
- package/lib/serialization/GeometrySamples.d.ts.map +0 -1
- package/lib/serialization/GeometrySamples.js.map +0 -1
- package/lib/serialization/IModelJsonSchema.d.ts.map +0 -1
- package/lib/serialization/IModelJsonSchema.js.map +0 -1
- package/lib/solid/Box.d.ts.map +0 -1
- package/lib/solid/Box.js.map +0 -1
- package/lib/solid/Cone.d.ts.map +0 -1
- package/lib/solid/Cone.js.map +0 -1
- package/lib/solid/LinearSweep.d.ts.map +0 -1
- package/lib/solid/LinearSweep.js.map +0 -1
- package/lib/solid/RotationalSweep.d.ts.map +0 -1
- package/lib/solid/RotationalSweep.js.map +0 -1
- package/lib/solid/RuledSweep.d.ts.map +0 -1
- package/lib/solid/RuledSweep.js.map +0 -1
- package/lib/solid/SolidPrimitive.d.ts.map +0 -1
- package/lib/solid/SolidPrimitive.js.map +0 -1
- package/lib/solid/Sphere.d.ts.map +0 -1
- package/lib/solid/Sphere.js.map +0 -1
- package/lib/solid/SweepContour.d.ts.map +0 -1
- package/lib/solid/SweepContour.js.map +0 -1
- package/lib/solid/TorusPipe.d.ts.map +0 -1
- package/lib/solid/TorusPipe.js.map +0 -1
- package/lib/topology/ChainMerge.d.ts.map +0 -1
- package/lib/topology/ChainMerge.js.map +0 -1
- package/lib/topology/Graph.d.ts.map +0 -1
- package/lib/topology/Graph.js.map +0 -1
- package/lib/topology/HalfEdgeGraphSearch.d.ts.map +0 -1
- package/lib/topology/HalfEdgeGraphSearch.js.map +0 -1
- package/lib/topology/HalfEdgeGraphSpineContext.d.ts.map +0 -1
- package/lib/topology/HalfEdgeGraphSpineContext.js.map +0 -1
- package/lib/topology/HalfEdgeGraphValidation.d.ts.map +0 -1
- package/lib/topology/HalfEdgeGraphValidation.js.map +0 -1
- package/lib/topology/HalfEdgeMarkSet.d.ts.map +0 -1
- package/lib/topology/HalfEdgeMarkSet.js.map +0 -1
- package/lib/topology/HalfEdgeNodeXYZUV.d.ts.map +0 -1
- package/lib/topology/HalfEdgeNodeXYZUV.js.map +0 -1
- package/lib/topology/HalfEdgePointInGraphSearch.d.ts.map +0 -1
- package/lib/topology/HalfEdgePointInGraphSearch.js.map +0 -1
- package/lib/topology/HalfEdgePositionDetail.d.ts.map +0 -1
- package/lib/topology/HalfEdgePositionDetail.js.map +0 -1
- package/lib/topology/HalfEdgePriorityQueue.d.ts.map +0 -1
- package/lib/topology/HalfEdgePriorityQueue.js.map +0 -1
- package/lib/topology/InsertAndRetriangulateContext.d.ts.map +0 -1
- package/lib/topology/InsertAndRetriangulateContext.js.map +0 -1
- package/lib/topology/MaskManager.d.ts.map +0 -1
- package/lib/topology/MaskManager.js.map +0 -1
- package/lib/topology/Merging.d.ts.map +0 -1
- package/lib/topology/Merging.js.map +0 -1
- package/lib/topology/RegularizeFace.d.ts.map +0 -1
- package/lib/topology/RegularizeFace.js.map +0 -1
- package/lib/topology/SignedDataSummary.d.ts.map +0 -1
- package/lib/topology/SignedDataSummary.js.map +0 -1
- package/lib/topology/Triangulation.d.ts.map +0 -1
- package/lib/topology/Triangulation.js.map +0 -1
- package/lib/topology/XYParitySearchContext.d.ts.map +0 -1
- package/lib/topology/XYParitySearchContext.js.map +0 -1
|
@@ -0,0 +1,1523 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { BSplineCurve3d } from "../bspline/BSplineCurve";
|
|
6
|
+
import { BSplineCurve3dH } from "../bspline/BSplineCurve3dH";
|
|
7
|
+
import { BSplineSurface3d, BSplineSurface3dH, WeightStyle } from "../bspline/BSplineSurface";
|
|
8
|
+
import { BSplineWrapMode } from "../bspline/KnotVector";
|
|
9
|
+
import { Arc3d } from "../curve/Arc3d";
|
|
10
|
+
import { CoordinateXYZ } from "../curve/CoordinateXYZ";
|
|
11
|
+
import { BagOfCurves, CurveCollection } from "../curve/CurveCollection";
|
|
12
|
+
import { GeometryQuery } from "../curve/GeometryQuery";
|
|
13
|
+
import { LineSegment3d } from "../curve/LineSegment3d";
|
|
14
|
+
import { LineString3d } from "../curve/LineString3d";
|
|
15
|
+
import { Loop } from "../curve/Loop";
|
|
16
|
+
import { ParityRegion } from "../curve/ParityRegion";
|
|
17
|
+
import { Path } from "../curve/Path";
|
|
18
|
+
import { PointString3d } from "../curve/PointString3d";
|
|
19
|
+
import { IntegratedSpiral3d } from "../curve/spiral/IntegratedSpiral3d";
|
|
20
|
+
import { UnionRegion } from "../curve/UnionRegion";
|
|
21
|
+
import { AxisOrder, Geometry } from "../Geometry";
|
|
22
|
+
import { Angle } from "../geometry3d/Angle";
|
|
23
|
+
import { AngleSweep } from "../geometry3d/AngleSweep";
|
|
24
|
+
import { GeometryHandler } from "../geometry3d/GeometryHandler";
|
|
25
|
+
import { Matrix3d } from "../geometry3d/Matrix3d";
|
|
26
|
+
import { Point2d } from "../geometry3d/Point2dVector2d";
|
|
27
|
+
import { Point3d, Vector3d, XYZ } from "../geometry3d/Point3dVector3d";
|
|
28
|
+
import { Ray3d } from "../geometry3d/Ray3d";
|
|
29
|
+
import { Segment1d } from "../geometry3d/Segment1d";
|
|
30
|
+
import { Transform } from "../geometry3d/Transform";
|
|
31
|
+
import { YawPitchRollAngles } from "../geometry3d/YawPitchRollAngles";
|
|
32
|
+
import { Point4d } from "../geometry4d/Point4d";
|
|
33
|
+
import { AuxChannel, AuxChannelData, PolyfaceAuxData } from "../polyface/AuxData";
|
|
34
|
+
import { IndexedPolyface } from "../polyface/Polyface";
|
|
35
|
+
import { Box } from "../solid/Box";
|
|
36
|
+
import { Cone } from "../solid/Cone";
|
|
37
|
+
import { LinearSweep } from "../solid/LinearSweep";
|
|
38
|
+
import { RotationalSweep } from "../solid/RotationalSweep";
|
|
39
|
+
import { RuledSweep } from "../solid/RuledSweep";
|
|
40
|
+
import { Sphere } from "../solid/Sphere";
|
|
41
|
+
import { TorusPipe } from "../solid/TorusPipe";
|
|
42
|
+
import { DirectSpiral3d } from "../curve/spiral/DirectSpiral3d";
|
|
43
|
+
import { TaggedNumericData } from "../polyface/TaggedNumericData";
|
|
44
|
+
import { InterpolationCurve3d as InterpolationCurve3d } from "../bspline/InterpolationCurve3d";
|
|
45
|
+
import { AkimaCurve3d } from "../bspline/AkimaCurve3d";
|
|
46
|
+
import { BSplineCurveOps } from "../bspline/BSplineCurveOps";
|
|
47
|
+
// cspell:word bagof
|
|
48
|
+
/* eslint-disable no-console*/
|
|
49
|
+
/**
|
|
50
|
+
* `ImodelJson` namespace has classes for serializing and deserialization json objects
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export var IModelJson;
|
|
54
|
+
(function (IModelJson) {
|
|
55
|
+
/** parser services for "iModelJson" schema
|
|
56
|
+
* * 1: create a reader with `new ImodelJsonReader`
|
|
57
|
+
* * 2: parse json fragment to strongly typed geometry: `const g = reader.parse (fragment)`
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
class Reader {
|
|
61
|
+
constructor() {
|
|
62
|
+
}
|
|
63
|
+
static parseVector3dProperty(json, propertyName, defaultValue) {
|
|
64
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
65
|
+
const value = json[propertyName];
|
|
66
|
+
if (Geometry.isNumberArray(value, 3))
|
|
67
|
+
return Vector3d.create(value[0], value[1], value[2]);
|
|
68
|
+
if (XYZ.isXAndY(value))
|
|
69
|
+
return Vector3d.fromJSON(value);
|
|
70
|
+
}
|
|
71
|
+
return defaultValue;
|
|
72
|
+
}
|
|
73
|
+
static parsePoint3dProperty(json, propertyName, defaultValue) {
|
|
74
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
75
|
+
const value = json[propertyName];
|
|
76
|
+
if (Geometry.isNumberArray(value, 3))
|
|
77
|
+
return Point3d.create(value[0], value[1], value[2]);
|
|
78
|
+
if (XYZ.isXAndY(value))
|
|
79
|
+
return Point3d.fromJSON(value);
|
|
80
|
+
}
|
|
81
|
+
return defaultValue;
|
|
82
|
+
}
|
|
83
|
+
static parseSegment1dProperty(json, propertyName, defaultValue) {
|
|
84
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
85
|
+
const value = json[propertyName];
|
|
86
|
+
if (Geometry.isNumberArray(value, 2))
|
|
87
|
+
return Segment1d.create(value[0], value[1]);
|
|
88
|
+
}
|
|
89
|
+
return defaultValue;
|
|
90
|
+
}
|
|
91
|
+
static parseNumberProperty(json, propertyName, defaultValue) {
|
|
92
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
93
|
+
const value = json[propertyName];
|
|
94
|
+
if (Number.isFinite(value))
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return defaultValue;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
static parseTaggedNumericProps(json) {
|
|
103
|
+
const tagA = this.parseNumberProperty(json, "tagA");
|
|
104
|
+
const tagB = this.parseNumberProperty(json, "tagB", 0);
|
|
105
|
+
if (tagA !== undefined) {
|
|
106
|
+
const result = new TaggedNumericData(tagA, tagB);
|
|
107
|
+
if (json.hasOwnProperty("intData"))
|
|
108
|
+
result.intData = this.parseNumberArrayProperty(json, "intData", 0, undefined);
|
|
109
|
+
if (json.hasOwnProperty("doubleData"))
|
|
110
|
+
result.doubleData = this.parseNumberArrayProperty(json, "doubleData", 0, undefined);
|
|
111
|
+
return result;
|
|
112
|
+
}
|
|
113
|
+
return undefined;
|
|
114
|
+
}
|
|
115
|
+
static parseNumberArrayProperty(json, propertyName, minValues, maxValues, defaultValue) {
|
|
116
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
117
|
+
const value = json[propertyName];
|
|
118
|
+
if (Array.isArray(value)
|
|
119
|
+
&& value.length >= minValues && (undefined === maxValues || value.length <= maxValues)) {
|
|
120
|
+
const result = [];
|
|
121
|
+
for (const a of value) {
|
|
122
|
+
result.push(a);
|
|
123
|
+
}
|
|
124
|
+
return result;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return defaultValue;
|
|
128
|
+
}
|
|
129
|
+
static parseAngleProperty(json, propertyName, defaultValue) {
|
|
130
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
131
|
+
const value = json[propertyName];
|
|
132
|
+
return Angle.fromJSON(value);
|
|
133
|
+
}
|
|
134
|
+
return defaultValue;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @param defaultFunction function to call if needed to produce a default value
|
|
138
|
+
*/
|
|
139
|
+
static parseAngleSweepProps(json, propertyName, defaultFunction) {
|
|
140
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
141
|
+
const value = json[propertyName];
|
|
142
|
+
return AngleSweep.fromJSON(value);
|
|
143
|
+
}
|
|
144
|
+
if (defaultFunction === undefined)
|
|
145
|
+
return undefined;
|
|
146
|
+
return defaultFunction();
|
|
147
|
+
}
|
|
148
|
+
static parseBooleanProperty(json, propertyName, defaultValue) {
|
|
149
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
150
|
+
const value = json[propertyName];
|
|
151
|
+
if (value === true)
|
|
152
|
+
return true;
|
|
153
|
+
if (value === false)
|
|
154
|
+
return false;
|
|
155
|
+
}
|
|
156
|
+
return defaultValue;
|
|
157
|
+
}
|
|
158
|
+
static loadContourArray(json, propertyName) {
|
|
159
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
160
|
+
const value = json[propertyName];
|
|
161
|
+
if (Array.isArray(value)) {
|
|
162
|
+
const result = [];
|
|
163
|
+
for (const contourData of value) {
|
|
164
|
+
const contour = Reader.parse(contourData);
|
|
165
|
+
if (contour instanceof CurveCollection) {
|
|
166
|
+
result.push(contour);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
if (result.length > 0)
|
|
170
|
+
return result;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
return undefined;
|
|
174
|
+
}
|
|
175
|
+
static parseYawPitchRollAnglesToMatrix3d(json) {
|
|
176
|
+
const ypr = YawPitchRollAngles.fromJSON(json);
|
|
177
|
+
return ypr.toMatrix3d();
|
|
178
|
+
}
|
|
179
|
+
static parseStringProperty(json, propertyName, defaultValue) {
|
|
180
|
+
if (json.hasOwnProperty(propertyName)) {
|
|
181
|
+
const value = json[propertyName];
|
|
182
|
+
// if (value instanceof string)
|
|
183
|
+
return value;
|
|
184
|
+
}
|
|
185
|
+
return defaultValue;
|
|
186
|
+
}
|
|
187
|
+
static parseAxesFromVectors(json, axisOrder, createDefaultIdentity) {
|
|
188
|
+
if (Array.isArray(json) && json.length === 2) {
|
|
189
|
+
const xVector = Vector3d.fromJSON(json[0]);
|
|
190
|
+
const yVector = Vector3d.fromJSON(json[1]);
|
|
191
|
+
const matrix = Matrix3d.createRigidFromColumns(xVector, yVector, axisOrder);
|
|
192
|
+
if (matrix)
|
|
193
|
+
return matrix;
|
|
194
|
+
}
|
|
195
|
+
if (createDefaultIdentity)
|
|
196
|
+
return Matrix3d.createIdentity();
|
|
197
|
+
return undefined;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Look for orientation data and convert to Matrix3d.
|
|
201
|
+
* * Search order is:
|
|
202
|
+
* * * yawPitchRollAngles
|
|
203
|
+
* * * xyVectors
|
|
204
|
+
* * * zxVectors
|
|
205
|
+
* @param json [in] json source data
|
|
206
|
+
* @param createDefaultIdentity [in] If true and no orientation is present, return an identity matrix. If false and no orientation is present, return undefined.
|
|
207
|
+
*/
|
|
208
|
+
static parseOrientation(json, createDefaultIdentity) {
|
|
209
|
+
if (json.yawPitchRollAngles) {
|
|
210
|
+
return Reader.parseYawPitchRollAnglesToMatrix3d(json.yawPitchRollAngles);
|
|
211
|
+
}
|
|
212
|
+
else if (json.xyVectors) {
|
|
213
|
+
return Reader.parseAxesFromVectors(json.xyVectors, AxisOrder.XYZ, createDefaultIdentity);
|
|
214
|
+
}
|
|
215
|
+
else if (json.zxVectors) {
|
|
216
|
+
return Reader.parseAxesFromVectors(json.zxVectors, AxisOrder.ZXY, createDefaultIdentity);
|
|
217
|
+
}
|
|
218
|
+
if (createDefaultIdentity)
|
|
219
|
+
return Matrix3d.createIdentity();
|
|
220
|
+
return undefined;
|
|
221
|
+
}
|
|
222
|
+
static parseArcByVectorProps(data) {
|
|
223
|
+
if (data
|
|
224
|
+
&& data.center !== undefined
|
|
225
|
+
&& data.vectorX !== undefined
|
|
226
|
+
&& data.vectorY !== undefined
|
|
227
|
+
&& data.sweepStartEnd !== undefined) {
|
|
228
|
+
return Arc3d.create(Point3d.fromJSON(data.center), Vector3d.fromJSON(data.vectorX), Vector3d.fromJSON(data.vectorY), AngleSweep.fromJSON(data.sweepStartEnd));
|
|
229
|
+
}
|
|
230
|
+
return undefined;
|
|
231
|
+
}
|
|
232
|
+
// remark: Returns LineString3d as last default when give points are colinear.
|
|
233
|
+
static parseArcBy3Points(data) {
|
|
234
|
+
if (Array.isArray(data) && data.length > 2) {
|
|
235
|
+
const pointA = Point3d.fromJSON(data[0]);
|
|
236
|
+
const pointB = Point3d.fromJSON(data[1]);
|
|
237
|
+
const pointC = Point3d.fromJSON(data[2]);
|
|
238
|
+
return Arc3d.createCircularStartMiddleEnd(pointA, pointB, pointC);
|
|
239
|
+
}
|
|
240
|
+
return undefined;
|
|
241
|
+
}
|
|
242
|
+
static parseArcObject(data) {
|
|
243
|
+
let arc = Reader.parseArcByVectorProps(data);
|
|
244
|
+
if (arc)
|
|
245
|
+
return arc;
|
|
246
|
+
arc = Reader.parseArcBy3Points(data);
|
|
247
|
+
return arc; // possibly undefined.
|
|
248
|
+
}
|
|
249
|
+
/** Parse point content (right side) `[1,2,3]` to a CoordinateXYZ object. */
|
|
250
|
+
static parseCoordinate(data) {
|
|
251
|
+
const point = Point3d.fromJSON(data);
|
|
252
|
+
if (point)
|
|
253
|
+
return CoordinateXYZ.create(point);
|
|
254
|
+
return undefined;
|
|
255
|
+
}
|
|
256
|
+
/** Parse TransitionSpiral content (right side) to TransitionSpiral3d
|
|
257
|
+
* @alpha
|
|
258
|
+
*/
|
|
259
|
+
static parseTransitionSpiral(data) {
|
|
260
|
+
const axes = Reader.parseOrientation(data, true);
|
|
261
|
+
const origin = Reader.parsePoint3dProperty(data, "origin");
|
|
262
|
+
// the create method will juggle any 4 out of these 5 inputs to define the other ..
|
|
263
|
+
const startBearing = Reader.parseAngleProperty(data, "startBearing");
|
|
264
|
+
const endBearing = Reader.parseAngleProperty(data, "endBearing");
|
|
265
|
+
const startRadius = Reader.parseNumberProperty(data, "startRadius");
|
|
266
|
+
const endRadius = Reader.parseNumberProperty(data, "endRadius");
|
|
267
|
+
let length = Reader.parseNumberProperty(data, "length", undefined);
|
|
268
|
+
if (length === undefined)
|
|
269
|
+
length = Reader.parseNumberProperty(data, "curveLength", undefined);
|
|
270
|
+
let interval = Reader.parseSegment1dProperty(data, "activeFractionInterval", undefined);
|
|
271
|
+
if (!interval)
|
|
272
|
+
interval = Reader.parseSegment1dProperty(data, "fractionInterval", undefined);
|
|
273
|
+
if (!interval)
|
|
274
|
+
interval = Reader.parseSegment1dProperty(data, "activeInterval", undefined);
|
|
275
|
+
const spiralType = Reader.parseStringProperty(data, "type", "clothoid");
|
|
276
|
+
// REMARK: Our job is to parse and pass data along -- inscrutable validation happens in the implementation classes . . .
|
|
277
|
+
if (origin) {
|
|
278
|
+
let candidate;
|
|
279
|
+
candidate = IntegratedSpiral3d.createFrom4OutOf5(spiralType, startRadius, endRadius, startBearing, endBearing, length, interval, Transform.createOriginAndMatrix(origin, axes));
|
|
280
|
+
if (candidate)
|
|
281
|
+
return candidate;
|
|
282
|
+
candidate = DirectSpiral3d.createFromLengthAndRadius(spiralType, startRadius, endRadius, startBearing, endBearing, length, interval, Transform.createOriginAndMatrix(origin, axes));
|
|
283
|
+
if (candidate)
|
|
284
|
+
return candidate;
|
|
285
|
+
}
|
|
286
|
+
return undefined;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Special closed case if the input was forced to bezier . . . (e.g. arc)
|
|
290
|
+
* (b-1) 0 0 0 a . . . b 111 (a+1)
|
|
291
|
+
* with {order} clamp-like values .. no pole duplication needed, but throw out 2 knots at each end . ..
|
|
292
|
+
* @param numPoles number of poles
|
|
293
|
+
* @param knots knot vector
|
|
294
|
+
* @param order curve order
|
|
295
|
+
* @param newKnots array to receive new knots.
|
|
296
|
+
* @returns true if this is a closed-but-clamped case and corrected knots are filled in.
|
|
297
|
+
*/
|
|
298
|
+
static getCorrectedKnotsForClosedClamped(numPoles, knots, order, newKnots) {
|
|
299
|
+
const numKnots = knots.length;
|
|
300
|
+
if (numPoles + 2 * order - 1 === numKnots
|
|
301
|
+
&& knots[0] < knots[1]
|
|
302
|
+
&& knots[numKnots - 2] < knots[numKnots - 1]) {
|
|
303
|
+
const a0 = knots[1];
|
|
304
|
+
const a1 = knots[numKnots - 2];
|
|
305
|
+
for (let i = 2; i <= order; i++) {
|
|
306
|
+
if (knots[i] !== a0)
|
|
307
|
+
return false;
|
|
308
|
+
if (knots[numKnots - 1 - i] !== a1)
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
// copy only the "minimal" set - without the typical extra knots from microstation and psd.
|
|
312
|
+
for (let i = 2; i + 2 < numKnots; i++)
|
|
313
|
+
newKnots.push(knots[i]);
|
|
314
|
+
return true;
|
|
315
|
+
}
|
|
316
|
+
return false;
|
|
317
|
+
}
|
|
318
|
+
/** Parse `bcurve` content (right side)to BSplineCurve3d or BSplineCurve3dH object. */
|
|
319
|
+
static parseBcurve(data) {
|
|
320
|
+
if (data === undefined)
|
|
321
|
+
return undefined;
|
|
322
|
+
if (Array.isArray(data.points) && Array.isArray(data.knots) && Number.isFinite(data.order) && data.closed !== undefined) {
|
|
323
|
+
if (data.points[0].length === 4) {
|
|
324
|
+
const hPoles = [];
|
|
325
|
+
for (const p of data.points)
|
|
326
|
+
hPoles.push(Point4d.fromJSON(p));
|
|
327
|
+
const knots = [];
|
|
328
|
+
let wrapMode = BSplineWrapMode.None;
|
|
329
|
+
if (data.closed && this.getCorrectedKnotsForClosedClamped(data.points.length, data.knots, data.order, knots)) {
|
|
330
|
+
// leave the poles alone -- knots are fixed.
|
|
331
|
+
wrapMode = BSplineWrapMode.OpenByRemovingKnots;
|
|
332
|
+
}
|
|
333
|
+
else if (data.closed) {
|
|
334
|
+
for (const knot of data.knots)
|
|
335
|
+
knots.push(knot);
|
|
336
|
+
for (let i = 0; i + 1 < data.order; i++) {
|
|
337
|
+
hPoles.push(hPoles[i].clone());
|
|
338
|
+
}
|
|
339
|
+
wrapMode = BSplineWrapMode.OpenByAddingControlPoints;
|
|
340
|
+
}
|
|
341
|
+
else {
|
|
342
|
+
// simple case .. just copy
|
|
343
|
+
for (const knot of data.knots)
|
|
344
|
+
knots.push(knot);
|
|
345
|
+
}
|
|
346
|
+
const newCurve = BSplineCurve3dH.create(hPoles, knots, data.order);
|
|
347
|
+
if (newCurve) {
|
|
348
|
+
if (data.closed === true)
|
|
349
|
+
newCurve.setWrappable(wrapMode);
|
|
350
|
+
return newCurve;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
else if (data.points[0].length === 3 || data.points[0].length === 2) {
|
|
354
|
+
const poles = [];
|
|
355
|
+
for (const p of data.points)
|
|
356
|
+
poles.push(Point3d.fromJSON(p));
|
|
357
|
+
const knots = [];
|
|
358
|
+
let wrapMode = BSplineWrapMode.None;
|
|
359
|
+
if (data.closed && this.getCorrectedKnotsForClosedClamped(data.points.length, data.knots, data.order, knots)) {
|
|
360
|
+
wrapMode = BSplineWrapMode.OpenByRemovingKnots;
|
|
361
|
+
// leave the poles alone -- knots are fixed.
|
|
362
|
+
}
|
|
363
|
+
else if (data.closed) {
|
|
364
|
+
for (const knot of data.knots)
|
|
365
|
+
knots.push(knot);
|
|
366
|
+
for (let i = 0; i + 1 < data.order; i++) {
|
|
367
|
+
poles.push(poles[i].clone());
|
|
368
|
+
}
|
|
369
|
+
wrapMode = BSplineWrapMode.OpenByAddingControlPoints;
|
|
370
|
+
}
|
|
371
|
+
else {
|
|
372
|
+
// simple case .. just copy
|
|
373
|
+
for (const knot of data.knots)
|
|
374
|
+
knots.push(knot);
|
|
375
|
+
}
|
|
376
|
+
const newCurve = BSplineCurve3d.create(poles, knots, data.order);
|
|
377
|
+
if (newCurve) {
|
|
378
|
+
if (data.closed === true)
|
|
379
|
+
newCurve.setWrappable(wrapMode);
|
|
380
|
+
return newCurve;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
return undefined;
|
|
385
|
+
}
|
|
386
|
+
/** Parse `bcurve` content (right side)to BSplineCurve3d or BSplineCurve3dH object. */
|
|
387
|
+
static parseInterpolationCurve(data) {
|
|
388
|
+
if (data === undefined)
|
|
389
|
+
return undefined;
|
|
390
|
+
return InterpolationCurve3d.create(data);
|
|
391
|
+
}
|
|
392
|
+
/** Parse `bcurve` content (right side)to an Akima curve object. */
|
|
393
|
+
static parseAkimaCurve3d(data) {
|
|
394
|
+
if (data === undefined)
|
|
395
|
+
return undefined;
|
|
396
|
+
return AkimaCurve3d.create(data);
|
|
397
|
+
}
|
|
398
|
+
/** Parse array of json objects to array of instances. */
|
|
399
|
+
static parseArray(data) {
|
|
400
|
+
if (Array.isArray(data)) {
|
|
401
|
+
const myArray = [];
|
|
402
|
+
let c;
|
|
403
|
+
for (c of data) {
|
|
404
|
+
const g = Reader.parse(c);
|
|
405
|
+
if (g !== undefined)
|
|
406
|
+
myArray.push(g);
|
|
407
|
+
}
|
|
408
|
+
return myArray;
|
|
409
|
+
}
|
|
410
|
+
return undefined;
|
|
411
|
+
}
|
|
412
|
+
// For each nonzero index, Announce Math.abs (value) -1
|
|
413
|
+
static addZeroBasedIndicesFromSignedOneBased(data, numPerFace, f) {
|
|
414
|
+
if (data && Geometry.isNumberArray(data)) {
|
|
415
|
+
if (numPerFace > 1) {
|
|
416
|
+
// all indices are used ...
|
|
417
|
+
for (const value of data) {
|
|
418
|
+
f(Math.abs(value) - 1);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
else {
|
|
422
|
+
// ignore separator zeros ...
|
|
423
|
+
for (const value of data) {
|
|
424
|
+
if (value !== 0)
|
|
425
|
+
f(Math.abs(value) - 1);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
/** parse polyface aux data content to PolyfaceAuxData instance */
|
|
431
|
+
static parsePolyfaceAuxData(data = undefined, numPerFace = 0) {
|
|
432
|
+
if (!Array.isArray(data.channels) || !Array.isArray(data.indices))
|
|
433
|
+
return undefined;
|
|
434
|
+
const outChannels = [];
|
|
435
|
+
for (const inChannel of data.channels) {
|
|
436
|
+
if (Array.isArray(inChannel.data) && inChannel.hasOwnProperty("dataType")) {
|
|
437
|
+
const outChannelData = [];
|
|
438
|
+
for (const inChannelData of inChannel.data) {
|
|
439
|
+
if (inChannelData.hasOwnProperty("input") && Array.isArray(inChannelData.values))
|
|
440
|
+
outChannelData.push(new AuxChannelData(inChannelData.input, inChannelData.values));
|
|
441
|
+
}
|
|
442
|
+
outChannels.push(new AuxChannel(outChannelData, inChannel.dataType, inChannel.name, inChannel.inputName));
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
const auxData = new PolyfaceAuxData(outChannels, []);
|
|
446
|
+
Reader.addZeroBasedIndicesFromSignedOneBased(data.indices, numPerFace, (x) => { auxData.indices.push(x); });
|
|
447
|
+
return auxData;
|
|
448
|
+
}
|
|
449
|
+
/** parse indexed mesh content to an IndexedPolyface instance */
|
|
450
|
+
static parseIndexedMesh(data) {
|
|
451
|
+
// {Coord:[[x,y,z],. . . ], -- simple xyz for each point
|
|
452
|
+
// CoordIndex[1,2,3,0] -- zero-terminated, one based !!!
|
|
453
|
+
if (data.hasOwnProperty("point") && Array.isArray(data.point)
|
|
454
|
+
&& data.hasOwnProperty("pointIndex") && Array.isArray(data.pointIndex)) {
|
|
455
|
+
const polyface = IndexedPolyface.create();
|
|
456
|
+
if (data.hasOwnProperty("normal") && Array.isArray(data.normal)) {
|
|
457
|
+
// for normals, addNormal() is overeager to detect the (common) case of duplicate normals in sequence.
|
|
458
|
+
// use addNormalXYZ which always creates a new one.
|
|
459
|
+
// likewise for params
|
|
460
|
+
for (const uvw of data.normal) {
|
|
461
|
+
if (Geometry.isNumberArray(uvw, 3))
|
|
462
|
+
polyface.addNormalXYZ(uvw[0], uvw[1], uvw[2]);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
if (data.hasOwnProperty("twoSided")) {
|
|
466
|
+
const q = data.twoSided;
|
|
467
|
+
if (q === true || q === false) {
|
|
468
|
+
polyface.twoSided = q;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
const numPerFace = data.hasOwnProperty("numPerFace") ? data.numPerFace : 0;
|
|
472
|
+
if (data.hasOwnProperty("expectedClosure")) {
|
|
473
|
+
const q = data.expectedClosure;
|
|
474
|
+
if (Number.isFinite(q)) {
|
|
475
|
+
polyface.expectedClosure = q;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
if (data.hasOwnProperty("param") && Array.isArray(data.param)) {
|
|
479
|
+
for (const uv of data.param) {
|
|
480
|
+
if (Geometry.isNumberArray(uv, 2))
|
|
481
|
+
polyface.addParamUV(uv[0], uv[1]);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
if (data.hasOwnProperty("color") && Array.isArray(data.color)) {
|
|
485
|
+
for (const c of data.color) {
|
|
486
|
+
polyface.addColor(c);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
for (const p of data.point)
|
|
490
|
+
polyface.addPointXYZ(p[0], p[1], p[2]);
|
|
491
|
+
if (numPerFace > 1) {
|
|
492
|
+
for (let i = 0; i < data.pointIndex.length; i++) {
|
|
493
|
+
const p = data.pointIndex[i];
|
|
494
|
+
const p0 = Math.abs(p) - 1;
|
|
495
|
+
polyface.addPointIndex(p0, p > 0);
|
|
496
|
+
if ((i + 1) % numPerFace === 0)
|
|
497
|
+
polyface.terminateFacet(false);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
else {
|
|
501
|
+
for (const p of data.pointIndex) {
|
|
502
|
+
if (p === 0)
|
|
503
|
+
polyface.terminateFacet(false); // we are responsible for index checking !!!
|
|
504
|
+
else {
|
|
505
|
+
const p0 = Math.abs(p) - 1;
|
|
506
|
+
polyface.addPointIndex(p0, p > 0);
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
if (data.hasOwnProperty("normalIndex")) {
|
|
511
|
+
Reader.addZeroBasedIndicesFromSignedOneBased(data.normalIndex, numPerFace, (x) => { polyface.addNormalIndex(x); });
|
|
512
|
+
}
|
|
513
|
+
if (data.hasOwnProperty("paramIndex")) {
|
|
514
|
+
Reader.addZeroBasedIndicesFromSignedOneBased(data.paramIndex, numPerFace, (x) => { polyface.addParamIndex(x); });
|
|
515
|
+
}
|
|
516
|
+
if (data.hasOwnProperty("colorIndex")) {
|
|
517
|
+
Reader.addZeroBasedIndicesFromSignedOneBased(data.colorIndex, numPerFace, (x) => { polyface.addColorIndex(x); });
|
|
518
|
+
}
|
|
519
|
+
if (data.hasOwnProperty("auxData"))
|
|
520
|
+
polyface.data.auxData = Reader.parsePolyfaceAuxData(data.auxData, numPerFace);
|
|
521
|
+
if (data.hasOwnProperty("tags")) {
|
|
522
|
+
polyface.data.taggedNumericData = Reader.parseTaggedNumericProps(data.tags);
|
|
523
|
+
}
|
|
524
|
+
return polyface;
|
|
525
|
+
}
|
|
526
|
+
return undefined;
|
|
527
|
+
}
|
|
528
|
+
/** parse contents of a curve collection to a CurveCollection instance */
|
|
529
|
+
static parseCurveCollectionMembers(result, data) {
|
|
530
|
+
if (data && Array.isArray(data)) {
|
|
531
|
+
for (const c of data) {
|
|
532
|
+
const g = Reader.parse(c);
|
|
533
|
+
if (g instanceof GeometryQuery && ("curveCollection" === g.geometryCategory || "curvePrimitive" === g.geometryCategory))
|
|
534
|
+
result.tryAddChild(g);
|
|
535
|
+
}
|
|
536
|
+
return result;
|
|
537
|
+
}
|
|
538
|
+
return undefined;
|
|
539
|
+
}
|
|
540
|
+
/** Parse content of `bsurf` to BSplineSurface3d or BSplineSurface3dH */
|
|
541
|
+
static parseBsurf(data) {
|
|
542
|
+
if (data.hasOwnProperty("uKnots") && Array.isArray(data.uKnots)
|
|
543
|
+
&& data.hasOwnProperty("vKnots") && Array.isArray(data.vKnots)
|
|
544
|
+
&& data.hasOwnProperty("orderU") && Number.isFinite(data.orderU)
|
|
545
|
+
&& data.hasOwnProperty("orderV") && Number.isFinite(data.orderV)
|
|
546
|
+
&& data.hasOwnProperty("points") && Array.isArray(data.points)) {
|
|
547
|
+
const orderU = data.orderU;
|
|
548
|
+
const orderV = data.orderV;
|
|
549
|
+
if (Array.isArray(data.points[0]) && Array.isArray(data.points[0][0])) {
|
|
550
|
+
const d = data.points[0][0].length;
|
|
551
|
+
/** xyz surface (no weights) */
|
|
552
|
+
if (d === 3) {
|
|
553
|
+
return BSplineSurface3d.createGrid(data.points, orderU, data.uKnots, orderV, data.vKnots);
|
|
554
|
+
}
|
|
555
|
+
/** xyzw surface (weights already applied) */
|
|
556
|
+
if (d === 4) {
|
|
557
|
+
return BSplineSurface3dH.createGrid(data.points, WeightStyle.WeightsAlreadyAppliedToCoordinates, orderU, data.uKnots, orderV, data.vKnots);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
return undefined;
|
|
562
|
+
}
|
|
563
|
+
/** Parse `cone` contents to `Cone` instance */
|
|
564
|
+
static parseConeProps(json) {
|
|
565
|
+
const axes = Reader.parseOrientation(json, false);
|
|
566
|
+
const start = Reader.parsePoint3dProperty(json, "start");
|
|
567
|
+
const end = Reader.parsePoint3dProperty(json, "end");
|
|
568
|
+
const radius = Reader.parseNumberProperty(json, "radius");
|
|
569
|
+
const startRadius = Reader.parseNumberProperty(json, "startRadius", radius);
|
|
570
|
+
const endRadius = Reader.parseNumberProperty(json, "endRadius", startRadius);
|
|
571
|
+
const capped = Reader.parseBooleanProperty(json, "capped", false);
|
|
572
|
+
if (start
|
|
573
|
+
&& end
|
|
574
|
+
&& startRadius !== undefined
|
|
575
|
+
&& endRadius !== undefined) {
|
|
576
|
+
if (axes === undefined) {
|
|
577
|
+
const axisVector = Vector3d.createStartEnd(start, end);
|
|
578
|
+
const frame = Matrix3d.createRigidHeadsUp(axisVector, AxisOrder.ZXY);
|
|
579
|
+
const vectorX = frame.columnX();
|
|
580
|
+
const vectorY = frame.columnY();
|
|
581
|
+
return Cone.createBaseAndTarget(start, end, vectorX, vectorY, startRadius, endRadius, capped);
|
|
582
|
+
}
|
|
583
|
+
else {
|
|
584
|
+
return Cone.createBaseAndTarget(start, end, axes.columnX(), axes.columnY(), startRadius, endRadius, capped);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
return undefined;
|
|
588
|
+
}
|
|
589
|
+
/** Parse `cylinder` content to `Cone` instance */
|
|
590
|
+
static parseCylinderProps(json) {
|
|
591
|
+
const start = Reader.parsePoint3dProperty(json, "start");
|
|
592
|
+
const end = Reader.parsePoint3dProperty(json, "end");
|
|
593
|
+
const radius = Reader.parseNumberProperty(json, "radius");
|
|
594
|
+
const capped = Reader.parseBooleanProperty(json, "capped", false);
|
|
595
|
+
if (start
|
|
596
|
+
&& end
|
|
597
|
+
&& radius !== undefined) {
|
|
598
|
+
return Cone.createAxisPoints(start, end, radius, radius, capped);
|
|
599
|
+
}
|
|
600
|
+
return undefined;
|
|
601
|
+
}
|
|
602
|
+
/** Parse line segment (array of 2 points) properties to `LineSegment3d` instance */
|
|
603
|
+
static parseLineSegmentProps(value) {
|
|
604
|
+
if (Array.isArray(value) && value.length > 1)
|
|
605
|
+
return LineSegment3d.create(Point3d.fromJSON(value[0]), Point3d.fromJSON(value[1]));
|
|
606
|
+
else
|
|
607
|
+
return undefined;
|
|
608
|
+
}
|
|
609
|
+
/** Parse linear sweep content to `LinearSweep` instance. */
|
|
610
|
+
static parseLinearSweep(json) {
|
|
611
|
+
const contour = Reader.parse(json.contour);
|
|
612
|
+
const capped = Reader.parseBooleanProperty(json, "capped");
|
|
613
|
+
const extrusionVector = Reader.parseVector3dProperty(json, "vector");
|
|
614
|
+
if (contour instanceof GeometryQuery
|
|
615
|
+
&& "curveCollection" === contour.geometryCategory
|
|
616
|
+
&& capped !== undefined
|
|
617
|
+
&& extrusionVector) {
|
|
618
|
+
return LinearSweep.create(contour, extrusionVector, capped);
|
|
619
|
+
}
|
|
620
|
+
return undefined;
|
|
621
|
+
}
|
|
622
|
+
/** Parse rotational sweep contents to `RotationalSweep` instance */
|
|
623
|
+
static parseRotationalSweep(json) {
|
|
624
|
+
if (json === undefined)
|
|
625
|
+
return undefined;
|
|
626
|
+
const contour = Reader.parse(json.contour);
|
|
627
|
+
const capped = Reader.parseBooleanProperty(json, "capped");
|
|
628
|
+
const axisVector = Reader.parseVector3dProperty(json, "axis");
|
|
629
|
+
const center = Reader.parsePoint3dProperty(json, "center");
|
|
630
|
+
const sweepDegrees = Reader.parseNumberProperty(json, "sweepAngle");
|
|
631
|
+
if (contour instanceof GeometryQuery
|
|
632
|
+
&& "curveCollection" === contour.geometryCategory
|
|
633
|
+
&& sweepDegrees !== undefined
|
|
634
|
+
&& capped !== undefined
|
|
635
|
+
&& axisVector
|
|
636
|
+
&& center) {
|
|
637
|
+
return RotationalSweep.create(contour, Ray3d.createCapture(center, axisVector), Angle.createDegrees(sweepDegrees), capped);
|
|
638
|
+
}
|
|
639
|
+
return undefined;
|
|
640
|
+
}
|
|
641
|
+
/** Parse box contents to `Box` instance */
|
|
642
|
+
static parseBox(json) {
|
|
643
|
+
const capped = Reader.parseBooleanProperty(json, "capped", false);
|
|
644
|
+
const baseOrigin = Reader.parsePoint3dProperty(json, "baseOrigin");
|
|
645
|
+
const baseX = Reader.parseNumberProperty(json, "baseX");
|
|
646
|
+
const baseY = Reader.parseNumberProperty(json, "baseY", baseX);
|
|
647
|
+
let topOrigin = Reader.parsePoint3dProperty(json, "topOrigin");
|
|
648
|
+
const topX = Reader.parseNumberProperty(json, "topX", baseX);
|
|
649
|
+
const topY = Reader.parseNumberProperty(json, "topY", baseY);
|
|
650
|
+
const height = Reader.parseNumberProperty(json, "height", baseX);
|
|
651
|
+
const axes = Reader.parseOrientation(json, true);
|
|
652
|
+
if (baseOrigin && !topOrigin)
|
|
653
|
+
topOrigin = Matrix3d.xyzMinusMatrixTimesXYZ(baseOrigin, axes, Vector3d.create(0, 0, height));
|
|
654
|
+
if (capped !== undefined
|
|
655
|
+
&& baseX !== undefined
|
|
656
|
+
&& baseY !== undefined
|
|
657
|
+
&& topY !== undefined
|
|
658
|
+
&& topX !== undefined
|
|
659
|
+
&& axes
|
|
660
|
+
&& baseOrigin
|
|
661
|
+
&& topOrigin) {
|
|
662
|
+
return Box.createDgnBoxWithAxes(baseOrigin, axes, topOrigin, baseX, baseY, topX, topY, capped);
|
|
663
|
+
}
|
|
664
|
+
return undefined;
|
|
665
|
+
}
|
|
666
|
+
/** Parse `SphereProps` to `Sphere` instance. */
|
|
667
|
+
static parseSphere(json) {
|
|
668
|
+
const center = Reader.parsePoint3dProperty(json, "center");
|
|
669
|
+
// optional unqualified radius . . .
|
|
670
|
+
const radius = Reader.parseNumberProperty(json, "radius");
|
|
671
|
+
// optional specific X
|
|
672
|
+
const radiusX = Reader.parseNumberProperty(json, "radiusX", radius);
|
|
673
|
+
// missing Y and Z both pick up radiusX (which may have already been defaulted from unqualified radius)
|
|
674
|
+
const radiusY = Reader.parseNumberProperty(json, "radiusX", radiusX);
|
|
675
|
+
const radiusZ = Reader.parseNumberProperty(json, "radiusX", radiusX);
|
|
676
|
+
const latitudeStartEnd = Reader.parseAngleSweepProps(json, "latitudeStartEnd"); // this may be undefined!!
|
|
677
|
+
const axes = Reader.parseOrientation(json, true);
|
|
678
|
+
const capped = Reader.parseBooleanProperty(json, "capped", false);
|
|
679
|
+
if (center !== undefined
|
|
680
|
+
&& radiusX !== undefined
|
|
681
|
+
&& radiusY !== undefined
|
|
682
|
+
&& radiusZ !== undefined
|
|
683
|
+
&& capped !== undefined) {
|
|
684
|
+
return Sphere.createFromAxesAndScales(center, axes, radiusX, radiusY, radiusZ, latitudeStartEnd, capped);
|
|
685
|
+
}
|
|
686
|
+
return undefined;
|
|
687
|
+
}
|
|
688
|
+
/** Parse RuledSweepProps to RuledSweep instance. */
|
|
689
|
+
static parseRuledSweep(json) {
|
|
690
|
+
const capped = Reader.parseBooleanProperty(json, "capped", false);
|
|
691
|
+
const contours = this.loadContourArray(json, "contour");
|
|
692
|
+
if (contours !== undefined
|
|
693
|
+
&& capped !== undefined) {
|
|
694
|
+
return RuledSweep.create(contours, capped);
|
|
695
|
+
}
|
|
696
|
+
return undefined;
|
|
697
|
+
}
|
|
698
|
+
/** Parse TorusPipe props to TorusPipe instance. */
|
|
699
|
+
static parseTorusPipe(json) {
|
|
700
|
+
const axes = Reader.parseOrientation(json, true);
|
|
701
|
+
const center = Reader.parsePoint3dProperty(json, "center");
|
|
702
|
+
const radiusA = Reader.parseNumberProperty(json, "majorRadius");
|
|
703
|
+
const radiusB = Reader.parseNumberProperty(json, "minorRadius");
|
|
704
|
+
const sweepAngle = Reader.parseAngleProperty(json, "sweepAngle", undefined);
|
|
705
|
+
const capped = Reader.parseBooleanProperty(json, "capped", false);
|
|
706
|
+
if (center
|
|
707
|
+
&& radiusA !== undefined
|
|
708
|
+
&& radiusB !== undefined) {
|
|
709
|
+
return TorusPipe.createDgnTorusPipe(center, axes.columnX(), axes.columnY(), radiusA, radiusB, sweepAngle ? sweepAngle : Angle.createDegrees(360), capped);
|
|
710
|
+
}
|
|
711
|
+
return undefined;
|
|
712
|
+
}
|
|
713
|
+
/** Parse an array object to array of Point3d instances. */
|
|
714
|
+
static parsePointArray(json) {
|
|
715
|
+
const points = [];
|
|
716
|
+
if (json && Array.isArray(json)) {
|
|
717
|
+
for (const member of json) {
|
|
718
|
+
if (XYZ.isXAndY(member)) {
|
|
719
|
+
points.push(Point3d.fromJSON(member));
|
|
720
|
+
}
|
|
721
|
+
else if (Geometry.isNumberArray(member, 2)) {
|
|
722
|
+
points.push(Point3d.fromJSON(member));
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
return points;
|
|
727
|
+
}
|
|
728
|
+
/** Deserialize `json` to `GeometryQuery` instances. */
|
|
729
|
+
static parse(json) {
|
|
730
|
+
if (json !== undefined && json) {
|
|
731
|
+
if (json.lineSegment !== undefined) {
|
|
732
|
+
return Reader.parseLineSegmentProps(json.lineSegment);
|
|
733
|
+
}
|
|
734
|
+
else if (json.lineString !== undefined) {
|
|
735
|
+
return LineString3d.create(Reader.parsePointArray(json.lineString));
|
|
736
|
+
}
|
|
737
|
+
else if (json.arc !== undefined) {
|
|
738
|
+
return Reader.parseArcObject(json.arc);
|
|
739
|
+
}
|
|
740
|
+
else if (json.hasOwnProperty("point")) {
|
|
741
|
+
return Reader.parseCoordinate(json.point);
|
|
742
|
+
}
|
|
743
|
+
else if (json.hasOwnProperty("bcurve")) {
|
|
744
|
+
return Reader.parseBcurve(json.bcurve);
|
|
745
|
+
}
|
|
746
|
+
else if (json.hasOwnProperty("interpolationCurve")) {
|
|
747
|
+
return Reader.parseInterpolationCurve(json.interpolationCurve);
|
|
748
|
+
}
|
|
749
|
+
else if (json.hasOwnProperty("akimaCurve")) {
|
|
750
|
+
return Reader.parseAkimaCurve3d(json.akimaCurve);
|
|
751
|
+
}
|
|
752
|
+
else if (json.hasOwnProperty("path")) {
|
|
753
|
+
return Reader.parseCurveCollectionMembers(new Path(), json.path);
|
|
754
|
+
}
|
|
755
|
+
else if (json.hasOwnProperty("loop")) {
|
|
756
|
+
return Reader.parseCurveCollectionMembers(new Loop(), json.loop);
|
|
757
|
+
}
|
|
758
|
+
else if (json.hasOwnProperty("parityRegion")) {
|
|
759
|
+
return Reader.parseCurveCollectionMembers(new ParityRegion(), json.parityRegion);
|
|
760
|
+
}
|
|
761
|
+
else if (json.hasOwnProperty("unionRegion")) {
|
|
762
|
+
return Reader.parseCurveCollectionMembers(new UnionRegion(), json.unionRegion);
|
|
763
|
+
}
|
|
764
|
+
else if (json.hasOwnProperty("bagOfCurves")) {
|
|
765
|
+
return Reader.parseCurveCollectionMembers(new BagOfCurves(), json.bagOfCurves);
|
|
766
|
+
}
|
|
767
|
+
else if (json.hasOwnProperty("indexedMesh")) {
|
|
768
|
+
return Reader.parseIndexedMesh(json.indexedMesh);
|
|
769
|
+
}
|
|
770
|
+
else if (json.hasOwnProperty("bsurf")) {
|
|
771
|
+
return Reader.parseBsurf(json.bsurf);
|
|
772
|
+
}
|
|
773
|
+
else if (json.hasOwnProperty("cone")) {
|
|
774
|
+
return Reader.parseConeProps(json.cone);
|
|
775
|
+
}
|
|
776
|
+
else if (json.hasOwnProperty("cylinder")) {
|
|
777
|
+
return Reader.parseCylinderProps(json.cylinder);
|
|
778
|
+
}
|
|
779
|
+
else if (json.hasOwnProperty("sphere")) {
|
|
780
|
+
return Reader.parseSphere(json.sphere);
|
|
781
|
+
}
|
|
782
|
+
else if (json.hasOwnProperty("linearSweep")) {
|
|
783
|
+
return Reader.parseLinearSweep(json.linearSweep);
|
|
784
|
+
}
|
|
785
|
+
else if (json.hasOwnProperty("box")) {
|
|
786
|
+
return Reader.parseBox(json.box);
|
|
787
|
+
}
|
|
788
|
+
else if (json.hasOwnProperty("rotationalSweep")) {
|
|
789
|
+
return Reader.parseRotationalSweep(json.rotationalSweep);
|
|
790
|
+
}
|
|
791
|
+
else if (json.hasOwnProperty("ruledSweep")) {
|
|
792
|
+
return Reader.parseRuledSweep(json.ruledSweep);
|
|
793
|
+
}
|
|
794
|
+
else if (json.hasOwnProperty("torusPipe")) {
|
|
795
|
+
return Reader.parseTorusPipe(json.torusPipe);
|
|
796
|
+
}
|
|
797
|
+
else if (json.hasOwnProperty("pointString")) {
|
|
798
|
+
return PointString3d.create(Reader.parsePointArray(json.pointString));
|
|
799
|
+
}
|
|
800
|
+
else if (json.hasOwnProperty("transitionSpiral")) {
|
|
801
|
+
return Reader.parseTransitionSpiral(json.transitionSpiral);
|
|
802
|
+
}
|
|
803
|
+
else if (Array.isArray(json))
|
|
804
|
+
return Reader.parseArray(json);
|
|
805
|
+
}
|
|
806
|
+
return undefined;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
IModelJson.Reader = Reader;
|
|
810
|
+
// ISSUE: include 3d in names?
|
|
811
|
+
// ISSUE: would like shorter term than lineSegment
|
|
812
|
+
// ISSUE: is arc clear?
|
|
813
|
+
// ISSUE: label center, vectorX, vector90 on arc?
|
|
814
|
+
// ISSUE: sweep data on arc -- serialize as AngleSweep?
|
|
815
|
+
/**
|
|
816
|
+
* Class to deserialize json objects into GeometryQuery objects
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
class Writer extends GeometryHandler {
|
|
820
|
+
handleTaggedNumericData(data) {
|
|
821
|
+
const result = { tagA: data.tagA, tagB: data.tagB };
|
|
822
|
+
if (data.intData !== undefined && data.intData.length > 0)
|
|
823
|
+
result.intData = data.intData.slice();
|
|
824
|
+
if (data.doubleData !== undefined && data.doubleData.length > 0)
|
|
825
|
+
result.doubleData = data.doubleData.slice();
|
|
826
|
+
return result;
|
|
827
|
+
}
|
|
828
|
+
/** Convert strongly typed instance to tagged json */
|
|
829
|
+
handleLineSegment3d(data) {
|
|
830
|
+
return { lineSegment: [data.point0Ref.toJSON(), data.point1Ref.toJSON()] };
|
|
831
|
+
}
|
|
832
|
+
/** Convert strongly typed instance to tagged json */
|
|
833
|
+
handleCoordinateXYZ(data) {
|
|
834
|
+
return { point: data.point.toJSON() };
|
|
835
|
+
}
|
|
836
|
+
/** Convert strongly typed instance to tagged json */
|
|
837
|
+
handleArc3d(data) {
|
|
838
|
+
return {
|
|
839
|
+
arc: {
|
|
840
|
+
center: data.center.toJSON(),
|
|
841
|
+
vectorX: data.vector0.toJSON(),
|
|
842
|
+
vectorY: data.vector90.toJSON(),
|
|
843
|
+
sweepStartEnd: [data.sweep.startDegrees, data.sweep.endDegrees],
|
|
844
|
+
},
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Insert orientation description to a data object.
|
|
849
|
+
* @param matrix matrix with orientation
|
|
850
|
+
* @param omitIfIdentity omit the axis data if the matrix is an identity.
|
|
851
|
+
* @param data AxesProps object to be annotated.
|
|
852
|
+
*/
|
|
853
|
+
static insertOrientationFromMatrix(data, matrix, omitIfIdentity) {
|
|
854
|
+
if (omitIfIdentity) {
|
|
855
|
+
if (matrix === undefined)
|
|
856
|
+
return;
|
|
857
|
+
if (matrix.isIdentity)
|
|
858
|
+
return;
|
|
859
|
+
}
|
|
860
|
+
if (matrix)
|
|
861
|
+
data.xyVectors = [matrix.columnX().toJSON(), matrix.columnY().toJSON()];
|
|
862
|
+
else
|
|
863
|
+
data.xyVectors = [[1, 0, 0], [0, 1, 0]];
|
|
864
|
+
}
|
|
865
|
+
static isIdentityXY(xVector, yVector) {
|
|
866
|
+
return xVector.isAlmostEqualXYZ(1, 0, 0) && yVector.isAlmostEqualXYZ(0, 1, 0);
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
* Insert orientation description to a data object.
|
|
870
|
+
* @param matrix matrix with orientation
|
|
871
|
+
* @param omitIfIdentity omit the axis data if the matrix is an identity.
|
|
872
|
+
* @param data AxesProps object to be annotated.
|
|
873
|
+
*/
|
|
874
|
+
static insertOrientationFromXYVectors(data, vectorX, vectorY, omitIfIdentity) {
|
|
875
|
+
if (omitIfIdentity && Writer.isIdentityXY(vectorX, vectorY))
|
|
876
|
+
return;
|
|
877
|
+
data.xyVectors = [vectorX.toJSON(), vectorY.toJSON()];
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Insert orientation description to a data object, with orientation defined by u and v direction
|
|
881
|
+
* vectors.
|
|
882
|
+
* @param vectorX u direction
|
|
883
|
+
* @param vectorV v direction
|
|
884
|
+
* @param omitIfIdentity omit the axis data if the vectorU and vectorV are global x and y vectors.
|
|
885
|
+
* @param data AxesProps object to be annotated.
|
|
886
|
+
*/
|
|
887
|
+
static insertXYOrientation(data, vectorU, vectorV, omitIfIdentity) {
|
|
888
|
+
if (omitIfIdentity) {
|
|
889
|
+
if (vectorU.isAlmostEqualXYZ(1, 0, 0) && vectorV.isAlmostEqualXYZ(0, 1, 0))
|
|
890
|
+
return;
|
|
891
|
+
}
|
|
892
|
+
data.xyVectors = [vectorU.toJSON(), vectorV.toJSON()];
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* parse properties of a TransitionSpiral.
|
|
896
|
+
* @alpha
|
|
897
|
+
*/
|
|
898
|
+
handleTransitionSpiral(data) {
|
|
899
|
+
// TODO: HANDLE NONRIGID TRANSFORM !!
|
|
900
|
+
// the spiral may have indication of how it was defined. If so, use defined/undefined state of the original data
|
|
901
|
+
// as indication of what current data to use. (Current data may have changed due to transforms.)
|
|
902
|
+
if (data instanceof DirectSpiral3d) {
|
|
903
|
+
const value = {
|
|
904
|
+
origin: data.localToWorld.origin.toJSON(),
|
|
905
|
+
type: data.spiralType,
|
|
906
|
+
};
|
|
907
|
+
Writer.insertOrientationFromMatrix(value, data.localToWorld.matrix, true);
|
|
908
|
+
if (!data.activeFractionInterval.isExact01)
|
|
909
|
+
value.activeFractionInterval = [data.activeFractionInterval.x0, data.activeFractionInterval.x1];
|
|
910
|
+
// Object.defineProperty(value, "fractionInterval", { value: [data.activeFractionInterval.x0, data.activeFractionInterval.x1] });
|
|
911
|
+
value.startRadius = 0;
|
|
912
|
+
value.endRadius = data.nominalR1;
|
|
913
|
+
value.length = data.nominalL1;
|
|
914
|
+
return { transitionSpiral: value };
|
|
915
|
+
}
|
|
916
|
+
else if (data instanceof IntegratedSpiral3d) {
|
|
917
|
+
// TODO: HANDLE NONRIGID TRANSFORM !!
|
|
918
|
+
// the spiral may have indication of how it was defined. If so, use defined/undefined state of the original data
|
|
919
|
+
// as indication of what current data to use. (Current data may have changed due to transforms.)
|
|
920
|
+
const originalProperties = data.designProperties;
|
|
921
|
+
const value = {
|
|
922
|
+
origin: data.localToWorld.origin.toJSON(),
|
|
923
|
+
type: data.spiralType,
|
|
924
|
+
};
|
|
925
|
+
Writer.insertOrientationFromMatrix(value, data.localToWorld.matrix, true);
|
|
926
|
+
if (!data.activeFractionInterval.isExact01)
|
|
927
|
+
value.activeFractionInterval = [data.activeFractionInterval.x0, data.activeFractionInterval.x1];
|
|
928
|
+
// Object.defineProperty(value, "fractionInterval", { value: [data.activeFractionInterval.x0, data.activeFractionInterval.x1] });
|
|
929
|
+
// if possible, do selective output of defining data (omit exactly one out of the 5, matching original definition)
|
|
930
|
+
// EXCEPT do not omit final radius .. readers want it?
|
|
931
|
+
if (originalProperties !== undefined && originalProperties.numDefinedProperties() === 4) {
|
|
932
|
+
if (originalProperties.radius0 !== undefined)
|
|
933
|
+
value.startRadius = data.radius01.x0;
|
|
934
|
+
if (originalProperties.radius1 !== undefined)
|
|
935
|
+
value.endRadius = data.radius01.x1;
|
|
936
|
+
if (originalProperties.bearing0 !== undefined)
|
|
937
|
+
value.startBearing = data.bearing01.startAngle.toJSON();
|
|
938
|
+
if (originalProperties.bearing1 !== undefined)
|
|
939
|
+
value.endBearing = data.bearing01.endAngle.toJSON();
|
|
940
|
+
if (originalProperties.curveLength !== undefined)
|
|
941
|
+
value.length = data.curveLength();
|
|
942
|
+
if (value.endRadius === undefined)
|
|
943
|
+
value.endRadius = data.radius01.x1;
|
|
944
|
+
}
|
|
945
|
+
else {
|
|
946
|
+
// uh oh ... no original data, but the spiral itself knows all 5 values. We don't know which to consider primary.
|
|
947
|
+
// DECISION -- put everything out, let readers make sense if they can. (It should be consistent ?)
|
|
948
|
+
value.startRadius = data.radius01.x0;
|
|
949
|
+
value.endRadius = data.radius01.x1;
|
|
950
|
+
value.startBearing = data.bearing01.startAngle.toJSON();
|
|
951
|
+
value.endBearing = data.bearing01.endAngle.toJSON();
|
|
952
|
+
value.length = data.curveLength();
|
|
953
|
+
}
|
|
954
|
+
return { transitionSpiral: value };
|
|
955
|
+
}
|
|
956
|
+
return undefined;
|
|
957
|
+
}
|
|
958
|
+
/** Convert strongly typed instance to tagged json */
|
|
959
|
+
handleCone(data) {
|
|
960
|
+
const radiusA = data.getRadiusA();
|
|
961
|
+
const radiusB = data.getRadiusB();
|
|
962
|
+
const centerA = data.getCenterA();
|
|
963
|
+
const centerB = data.getCenterB();
|
|
964
|
+
const vectorX = data.getVectorX();
|
|
965
|
+
const vectorY = data.getVectorY();
|
|
966
|
+
const axisVector = Vector3d.createStartEnd(centerA, centerB);
|
|
967
|
+
if (Geometry.isSameCoordinate(radiusA, radiusB)
|
|
968
|
+
&& vectorX.isPerpendicularTo(axisVector)
|
|
969
|
+
&& vectorY.isPerpendicularTo(axisVector)
|
|
970
|
+
&& Geometry.isSameCoordinate(vectorX.magnitude(), 1.0)
|
|
971
|
+
&& Geometry.isSameCoordinate(vectorY.magnitude(), 1.0)) {
|
|
972
|
+
return {
|
|
973
|
+
cylinder: {
|
|
974
|
+
capped: data.capped,
|
|
975
|
+
start: data.getCenterA().toJSON(),
|
|
976
|
+
end: data.getCenterB().toJSON(),
|
|
977
|
+
radius: radiusA,
|
|
978
|
+
},
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
else {
|
|
982
|
+
const coneProps = {
|
|
983
|
+
capped: data.capped,
|
|
984
|
+
start: data.getCenterA().toJSON(),
|
|
985
|
+
end: data.getCenterB().toJSON(),
|
|
986
|
+
startRadius: data.getRadiusA(),
|
|
987
|
+
endRadius: data.getRadiusB(),
|
|
988
|
+
};
|
|
989
|
+
Writer.insertOrientationFromXYVectors(coneProps, vectorX, vectorY, false);
|
|
990
|
+
return { cone: coneProps };
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
/** Convert strongly typed instance to tagged json */
|
|
994
|
+
handleSphere(data) {
|
|
995
|
+
const xData = data.cloneVectorX().normalizeWithLength();
|
|
996
|
+
const yData = data.cloneVectorY().normalizeWithLength();
|
|
997
|
+
const zData = data.cloneVectorZ().normalizeWithLength();
|
|
998
|
+
const latitudeSweep = data.cloneLatitudeSweep();
|
|
999
|
+
const rX = xData.mag;
|
|
1000
|
+
const rY = yData.mag;
|
|
1001
|
+
const rZ = zData.mag;
|
|
1002
|
+
if (xData.v && zData.v) {
|
|
1003
|
+
const value = {
|
|
1004
|
+
center: data.cloneCenter().toJSON(),
|
|
1005
|
+
};
|
|
1006
|
+
if (!(data.getConstructiveFrame()).matrix.isIdentity)
|
|
1007
|
+
value.zxVectors = [zData.v.toJSON(), xData.v.toJSON()];
|
|
1008
|
+
const fullSweep = latitudeSweep.isFullLatitudeSweep;
|
|
1009
|
+
if (data.capped && !fullSweep)
|
|
1010
|
+
value.capped = data.capped;
|
|
1011
|
+
if (Geometry.isSameCoordinate(rX, rY) && Geometry.isSameCoordinate(rX, rZ))
|
|
1012
|
+
value.radius = rX;
|
|
1013
|
+
else {
|
|
1014
|
+
value.radiusX = rX;
|
|
1015
|
+
value.radiusY = rY;
|
|
1016
|
+
value.radiusZ = rZ;
|
|
1017
|
+
}
|
|
1018
|
+
if (!fullSweep)
|
|
1019
|
+
value.latitudeStartEnd = latitudeSweep.toJSON();
|
|
1020
|
+
return { sphere: value };
|
|
1021
|
+
}
|
|
1022
|
+
return undefined;
|
|
1023
|
+
}
|
|
1024
|
+
/** Convert strongly typed instance to tagged json */
|
|
1025
|
+
handleTorusPipe(data) {
|
|
1026
|
+
const vectorX = data.cloneVectorX();
|
|
1027
|
+
const vectorY = data.cloneVectorY();
|
|
1028
|
+
const radiusA = data.getMajorRadius();
|
|
1029
|
+
const radiusB = data.getMinorRadius();
|
|
1030
|
+
const sweep = data.getSweepAngle();
|
|
1031
|
+
if (data.getIsReversed()) {
|
|
1032
|
+
vectorY.scaleInPlace(-1.0);
|
|
1033
|
+
sweep.setRadians(-sweep.radians);
|
|
1034
|
+
}
|
|
1035
|
+
const value = {
|
|
1036
|
+
center: data.cloneCenter().toJSON(),
|
|
1037
|
+
majorRadius: radiusA,
|
|
1038
|
+
minorRadius: radiusB,
|
|
1039
|
+
xyVectors: [vectorX.toJSON(), vectorY.toJSON()],
|
|
1040
|
+
};
|
|
1041
|
+
if (!sweep.isFullCircle) {
|
|
1042
|
+
value.sweepAngle = sweep.degrees;
|
|
1043
|
+
value.capped = data.capped;
|
|
1044
|
+
}
|
|
1045
|
+
return { torusPipe: value };
|
|
1046
|
+
}
|
|
1047
|
+
/** Convert strongly typed instance to tagged json */
|
|
1048
|
+
handleLineString3d(data) {
|
|
1049
|
+
const pointsA = data.points;
|
|
1050
|
+
const pointsB = [];
|
|
1051
|
+
if (pointsA)
|
|
1052
|
+
for (const p of pointsA)
|
|
1053
|
+
pointsB.push(p.toJSON());
|
|
1054
|
+
return { lineString: pointsB };
|
|
1055
|
+
}
|
|
1056
|
+
/** Convert strongly typed instance to tagged json */
|
|
1057
|
+
handlePointString3d(data) {
|
|
1058
|
+
const pointsA = data.points;
|
|
1059
|
+
const pointsB = [];
|
|
1060
|
+
if (pointsA)
|
|
1061
|
+
for (const p of pointsA)
|
|
1062
|
+
pointsB.push(p.toJSON());
|
|
1063
|
+
return { pointString: pointsB };
|
|
1064
|
+
}
|
|
1065
|
+
/** Convert strongly typed instance to tagged json */
|
|
1066
|
+
handlePath(data) {
|
|
1067
|
+
return { path: this.collectChildren(data) };
|
|
1068
|
+
}
|
|
1069
|
+
/** Convert strongly typed instance to tagged json */
|
|
1070
|
+
handleLoop(data) {
|
|
1071
|
+
return { loop: this.collectChildren(data) };
|
|
1072
|
+
}
|
|
1073
|
+
/** Convert strongly typed instance to tagged json */
|
|
1074
|
+
handleParityRegion(data) {
|
|
1075
|
+
return { parityRegion: this.collectChildren(data) };
|
|
1076
|
+
}
|
|
1077
|
+
/** Convert strongly typed instance to tagged json */
|
|
1078
|
+
handleUnionRegion(data) {
|
|
1079
|
+
return { unionRegion: this.collectChildren(data) };
|
|
1080
|
+
}
|
|
1081
|
+
/** Convert strongly typed instance to tagged json */
|
|
1082
|
+
handleBagOfCurves(data) {
|
|
1083
|
+
return { bagOfCurves: this.collectChildren(data) };
|
|
1084
|
+
}
|
|
1085
|
+
collectChildren(data) {
|
|
1086
|
+
const children = [];
|
|
1087
|
+
if (data.children && Array.isArray(data.children)) {
|
|
1088
|
+
for (const child of data.children) {
|
|
1089
|
+
const cdata = child.dispatchToGeometryHandler(this);
|
|
1090
|
+
if (cdata)
|
|
1091
|
+
children.push(cdata);
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
return children;
|
|
1095
|
+
}
|
|
1096
|
+
/** Convert strongly typed instance to tagged json */
|
|
1097
|
+
handleLinearSweep(data) {
|
|
1098
|
+
const extrusionVector = data.cloneSweepVector();
|
|
1099
|
+
const curves = data.getCurvesRef();
|
|
1100
|
+
const capped = data.capped;
|
|
1101
|
+
if (extrusionVector
|
|
1102
|
+
&& curves
|
|
1103
|
+
&& capped !== undefined) {
|
|
1104
|
+
return {
|
|
1105
|
+
linearSweep: {
|
|
1106
|
+
contour: curves.dispatchToGeometryHandler(this),
|
|
1107
|
+
capped,
|
|
1108
|
+
vector: extrusionVector.toJSON(),
|
|
1109
|
+
},
|
|
1110
|
+
};
|
|
1111
|
+
}
|
|
1112
|
+
return undefined;
|
|
1113
|
+
}
|
|
1114
|
+
/** Convert strongly typed instance to tagged json */
|
|
1115
|
+
handleRuledSweep(data) {
|
|
1116
|
+
const contours = data.cloneContours();
|
|
1117
|
+
const capped = data.capped;
|
|
1118
|
+
if (contours
|
|
1119
|
+
&& contours.length > 1
|
|
1120
|
+
&& capped !== undefined) {
|
|
1121
|
+
const jsonContours = [];
|
|
1122
|
+
for (const c of contours) {
|
|
1123
|
+
jsonContours.push(this.emit(c));
|
|
1124
|
+
}
|
|
1125
|
+
return {
|
|
1126
|
+
ruledSweep: {
|
|
1127
|
+
contour: jsonContours,
|
|
1128
|
+
capped,
|
|
1129
|
+
},
|
|
1130
|
+
};
|
|
1131
|
+
}
|
|
1132
|
+
return undefined;
|
|
1133
|
+
}
|
|
1134
|
+
/** Convert strongly typed instance to tagged json */
|
|
1135
|
+
handleRotationalSweep(data) {
|
|
1136
|
+
const axisRay = data.cloneAxisRay();
|
|
1137
|
+
const curves = data.getCurves();
|
|
1138
|
+
const capped = data.capped;
|
|
1139
|
+
const sweepAngle = data.getSweep();
|
|
1140
|
+
return {
|
|
1141
|
+
rotationalSweep: {
|
|
1142
|
+
axis: axisRay.direction.toJSON(),
|
|
1143
|
+
contour: curves.dispatchToGeometryHandler(this),
|
|
1144
|
+
capped,
|
|
1145
|
+
center: axisRay.origin.toJSON(),
|
|
1146
|
+
sweepAngle: sweepAngle.degrees,
|
|
1147
|
+
},
|
|
1148
|
+
};
|
|
1149
|
+
}
|
|
1150
|
+
/** Convert strongly typed instance to tagged json */
|
|
1151
|
+
handleBox(box) {
|
|
1152
|
+
const out = {
|
|
1153
|
+
box: {
|
|
1154
|
+
baseOrigin: box.getBaseOrigin().toJSON(),
|
|
1155
|
+
baseX: box.getBaseX(),
|
|
1156
|
+
baseY: box.getBaseY(),
|
|
1157
|
+
capped: box.capped,
|
|
1158
|
+
topOrigin: box.getTopOrigin().toJSON(),
|
|
1159
|
+
},
|
|
1160
|
+
};
|
|
1161
|
+
Writer.insertXYOrientation(out.box, box.getVectorX(), box.getVectorY(), true);
|
|
1162
|
+
if (!Geometry.isSameCoordinate(box.getTopX(), box.getBaseX()))
|
|
1163
|
+
out.box.topX = box.getTopX();
|
|
1164
|
+
if (!Geometry.isSameCoordinate(box.getTopY(), box.getBaseY()))
|
|
1165
|
+
out.box.topY = box.getTopY();
|
|
1166
|
+
return out;
|
|
1167
|
+
}
|
|
1168
|
+
handlePolyfaceAuxData(auxData, pf) {
|
|
1169
|
+
const contents = {};
|
|
1170
|
+
contents.indices = [];
|
|
1171
|
+
const visitor = pf.createVisitor(0);
|
|
1172
|
+
if (!visitor.auxData)
|
|
1173
|
+
return;
|
|
1174
|
+
while (visitor.moveToNextFacet()) {
|
|
1175
|
+
for (let i = 0; i < visitor.indexCount; i++) {
|
|
1176
|
+
contents.indices.push(visitor.auxData.indices[i] + 1);
|
|
1177
|
+
}
|
|
1178
|
+
contents.indices.push(0); // facet terminator.
|
|
1179
|
+
}
|
|
1180
|
+
contents.channels = [];
|
|
1181
|
+
for (const inChannel of auxData.channels) {
|
|
1182
|
+
const outChannel = {};
|
|
1183
|
+
outChannel.dataType = inChannel.dataType;
|
|
1184
|
+
outChannel.name = inChannel.name;
|
|
1185
|
+
outChannel.inputName = inChannel.inputName;
|
|
1186
|
+
outChannel.data = [];
|
|
1187
|
+
for (const inData of inChannel.data) {
|
|
1188
|
+
const outData = {};
|
|
1189
|
+
outData.input = inData.input;
|
|
1190
|
+
outData.values = inData.values.slice(0);
|
|
1191
|
+
outChannel.data.push(outData);
|
|
1192
|
+
}
|
|
1193
|
+
contents.channels.push(outChannel);
|
|
1194
|
+
}
|
|
1195
|
+
return contents;
|
|
1196
|
+
}
|
|
1197
|
+
/** Convert strongly typed instance to tagged json */
|
|
1198
|
+
handleIndexedPolyface(pf) {
|
|
1199
|
+
const points = [];
|
|
1200
|
+
const pointIndex = [];
|
|
1201
|
+
const normals = [];
|
|
1202
|
+
const params = [];
|
|
1203
|
+
const colors = [];
|
|
1204
|
+
{
|
|
1205
|
+
const p = Point3d.create();
|
|
1206
|
+
for (let i = 0; pf.data.point.getPoint3dAtCheckedPointIndex(i, p); i++)
|
|
1207
|
+
points.push(p.toJSON());
|
|
1208
|
+
}
|
|
1209
|
+
if (pf.data.normal) {
|
|
1210
|
+
const numNormal = pf.data.normal.length;
|
|
1211
|
+
const normal = Vector3d.create();
|
|
1212
|
+
for (let i = 0; i < numNormal; i++) {
|
|
1213
|
+
pf.data.normal.getVector3dAtCheckedVectorIndex(i, normal);
|
|
1214
|
+
normals.push(normal.toJSON());
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
if (pf.data.param) {
|
|
1218
|
+
const uv = Point2d.create();
|
|
1219
|
+
for (let i = 0; pf.data.param.getPoint2dAtCheckedPointIndex(i, uv); i++)
|
|
1220
|
+
params.push(uv.toJSON());
|
|
1221
|
+
}
|
|
1222
|
+
if (pf.data.color) {
|
|
1223
|
+
for (const value of pf.data.color)
|
|
1224
|
+
colors.push(value);
|
|
1225
|
+
}
|
|
1226
|
+
const visitor = pf.createVisitor(0);
|
|
1227
|
+
let indexCounter = 0;
|
|
1228
|
+
const normalIndex = [];
|
|
1229
|
+
const paramIndex = [];
|
|
1230
|
+
const colorIndex = [];
|
|
1231
|
+
let n;
|
|
1232
|
+
while (visitor.moveToNextFacet()) {
|
|
1233
|
+
n = visitor.indexCount;
|
|
1234
|
+
// All meshes have point and point index ...
|
|
1235
|
+
for (let i = 0; i < n; i++) {
|
|
1236
|
+
// Change sign of value to be pushed based on whether or not the edge was originally visible or not
|
|
1237
|
+
const toPush = pf.data.edgeVisible[indexCounter + i] ? visitor.pointIndex[i] + 1 : -(visitor.clientPointIndex(i) + 1);
|
|
1238
|
+
pointIndex.push(toPush);
|
|
1239
|
+
}
|
|
1240
|
+
pointIndex.push(0); // facet terminator.
|
|
1241
|
+
indexCounter += visitor.indexCount;
|
|
1242
|
+
if (visitor.normalIndex) {
|
|
1243
|
+
for (let i = 0; i < n; i++)
|
|
1244
|
+
normalIndex.push(1 + visitor.clientNormalIndex(i));
|
|
1245
|
+
normalIndex.push(0);
|
|
1246
|
+
}
|
|
1247
|
+
if (visitor.paramIndex) {
|
|
1248
|
+
for (let i = 0; i < n; i++)
|
|
1249
|
+
paramIndex.push(1 + visitor.clientParamIndex(i));
|
|
1250
|
+
paramIndex.push(0);
|
|
1251
|
+
}
|
|
1252
|
+
if (visitor.colorIndex) {
|
|
1253
|
+
for (let i = 0; i < n; i++)
|
|
1254
|
+
colorIndex.push(1 + visitor.clientColorIndex(i));
|
|
1255
|
+
colorIndex.push(0);
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
let taggedNumericData;
|
|
1259
|
+
if (pf.data.taggedNumericData) {
|
|
1260
|
+
taggedNumericData = this.handleTaggedNumericData(pf.data.taggedNumericData);
|
|
1261
|
+
}
|
|
1262
|
+
// assemble the contents in alphabetical order.
|
|
1263
|
+
const contents = {};
|
|
1264
|
+
if (pf.expectedClosure !== 0)
|
|
1265
|
+
contents.expectedClosure = pf.expectedClosure;
|
|
1266
|
+
if (pf.twoSided)
|
|
1267
|
+
contents.twoSided = true;
|
|
1268
|
+
if (pf.data.auxData)
|
|
1269
|
+
contents.auxData = this.handlePolyfaceAuxData(pf.data.auxData, pf);
|
|
1270
|
+
if (pf.data.color)
|
|
1271
|
+
contents.color = colors;
|
|
1272
|
+
if (pf.data.colorIndex)
|
|
1273
|
+
contents.colorIndex = colorIndex;
|
|
1274
|
+
if (pf.data.normal)
|
|
1275
|
+
contents.normal = normals;
|
|
1276
|
+
if (pf.data.normalIndex)
|
|
1277
|
+
contents.normalIndex = normalIndex;
|
|
1278
|
+
if (pf.data.param)
|
|
1279
|
+
contents.param = params;
|
|
1280
|
+
if (pf.data.paramIndex)
|
|
1281
|
+
contents.paramIndex = paramIndex;
|
|
1282
|
+
contents.point = points;
|
|
1283
|
+
contents.pointIndex = pointIndex;
|
|
1284
|
+
if (taggedNumericData)
|
|
1285
|
+
contents.tags = taggedNumericData;
|
|
1286
|
+
return { indexedMesh: contents };
|
|
1287
|
+
}
|
|
1288
|
+
/** Convert strongly typed instance to tagged json */
|
|
1289
|
+
handleBSplineCurve3d(curve) {
|
|
1290
|
+
// ASSUME -- if the curve originated "closed" the knot and pole replication are unchanged,
|
|
1291
|
+
// so first and last knots can be re-assigned, and last (degree - 1) poles can be deleted.
|
|
1292
|
+
const wrapMode = curve.isClosable;
|
|
1293
|
+
if (wrapMode === BSplineWrapMode.OpenByAddingControlPoints) {
|
|
1294
|
+
const knots = curve.copyKnots(true);
|
|
1295
|
+
const poles = curve.copyPoints();
|
|
1296
|
+
const degree = curve.degree;
|
|
1297
|
+
for (let i = 0; i < degree; i++)
|
|
1298
|
+
poles.pop();
|
|
1299
|
+
// knots have replicated first and last. Change the values to be periodic.
|
|
1300
|
+
const leftIndex = degree;
|
|
1301
|
+
const rightIndex = knots.length - degree - 1;
|
|
1302
|
+
const knotPeriod = knots[rightIndex] - knots[leftIndex];
|
|
1303
|
+
knots[0] = knots[rightIndex - degree] - knotPeriod;
|
|
1304
|
+
knots[knots.length - 1] = knots[leftIndex + degree] + knotPeriod;
|
|
1305
|
+
return {
|
|
1306
|
+
bcurve: {
|
|
1307
|
+
points: poles,
|
|
1308
|
+
knots,
|
|
1309
|
+
closed: true,
|
|
1310
|
+
order: curve.order,
|
|
1311
|
+
},
|
|
1312
|
+
};
|
|
1313
|
+
}
|
|
1314
|
+
else if (curve.isClosable === BSplineWrapMode.OpenByRemovingKnots) {
|
|
1315
|
+
// special case to re-close the case that originated as : a a0 a0 .. a0 knot0 knot1 knot2 ... b1 b1 .. b1 b
|
|
1316
|
+
// with (order) copies of a0 and b1 (usually 0 and 1)
|
|
1317
|
+
// and a,b are related to the interior knots
|
|
1318
|
+
// (This is the "bezier saturated arc")
|
|
1319
|
+
const rawKnots = curve.copyKnots(false); // unchanged knots . . .
|
|
1320
|
+
const poles = curve.copyPoints();
|
|
1321
|
+
const degree = curve.degree;
|
|
1322
|
+
const leftIndex = degree - 1;
|
|
1323
|
+
const rightIndex = rawKnots.length - degree;
|
|
1324
|
+
const leftKnot = rawKnots[leftIndex];
|
|
1325
|
+
const rightKnot = rawKnots[rightIndex];
|
|
1326
|
+
const knotPeriod = rightKnot - leftKnot;
|
|
1327
|
+
const knots = [];
|
|
1328
|
+
knots.push(rawKnots[rightIndex - 1] - knotPeriod);
|
|
1329
|
+
knots.push(leftKnot);
|
|
1330
|
+
for (const k of rawKnots)
|
|
1331
|
+
knots.push(k);
|
|
1332
|
+
knots.push(rightKnot);
|
|
1333
|
+
knots.push(rawKnots[leftIndex + 1] + knotPeriod);
|
|
1334
|
+
return {
|
|
1335
|
+
bcurve: {
|
|
1336
|
+
points: poles,
|
|
1337
|
+
knots,
|
|
1338
|
+
closed: true,
|
|
1339
|
+
order: curve.order,
|
|
1340
|
+
},
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1343
|
+
else {
|
|
1344
|
+
return {
|
|
1345
|
+
bcurve: {
|
|
1346
|
+
points: curve.copyPoints(),
|
|
1347
|
+
knots: curve.copyKnots(true),
|
|
1348
|
+
closed: false,
|
|
1349
|
+
order: curve.order,
|
|
1350
|
+
},
|
|
1351
|
+
};
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
/** Convert strongly typed instance to tagged json */
|
|
1355
|
+
handleInterpolationCurve3d(curve) {
|
|
1356
|
+
const props = curve.cloneProps();
|
|
1357
|
+
BSplineCurveOps.C2CubicFit.convertToJsonKnots(props);
|
|
1358
|
+
return { interpolationCurve: props };
|
|
1359
|
+
}
|
|
1360
|
+
/** Convert strongly typed instance to tagged json */
|
|
1361
|
+
handleAkimaCurve3d(curve) {
|
|
1362
|
+
return { akimaCurve: curve.cloneProps() };
|
|
1363
|
+
}
|
|
1364
|
+
/** Convert strongly typed instance to tagged json */
|
|
1365
|
+
handleBezierCurve3d(curve) {
|
|
1366
|
+
const knots = [];
|
|
1367
|
+
const order = curve.order;
|
|
1368
|
+
for (let i = 0; i < order; i++)
|
|
1369
|
+
knots.push(0.0);
|
|
1370
|
+
for (let i = 0; i < order; i++)
|
|
1371
|
+
knots.push(1.0);
|
|
1372
|
+
return {
|
|
1373
|
+
bcurve: {
|
|
1374
|
+
points: curve.copyPolesAsJsonArray(),
|
|
1375
|
+
knots,
|
|
1376
|
+
closed: false,
|
|
1377
|
+
order: curve.order,
|
|
1378
|
+
},
|
|
1379
|
+
};
|
|
1380
|
+
}
|
|
1381
|
+
/** Convert strongly typed instance to tagged json */
|
|
1382
|
+
handleBSplineCurve3dH(curve) {
|
|
1383
|
+
// ASSUME -- if the curve originated "closed" the knot and pole replication are unchanged,
|
|
1384
|
+
// so first and last knots can be re-assigned, and last (degree - 1) poles can be deleted.
|
|
1385
|
+
if (curve.isClosable) {
|
|
1386
|
+
const knots = curve.copyKnots(true);
|
|
1387
|
+
const poles = curve.copyPoints();
|
|
1388
|
+
const degree = curve.degree;
|
|
1389
|
+
for (let i = 0; i < degree; i++)
|
|
1390
|
+
poles.pop();
|
|
1391
|
+
// knots have replicated first and last. Change the values to be periodic.
|
|
1392
|
+
const leftIndex = degree;
|
|
1393
|
+
const rightIndex = knots.length - degree - 1;
|
|
1394
|
+
const knotPeriod = knots[rightIndex] - knots[leftIndex];
|
|
1395
|
+
knots[0] = knots[rightIndex - degree] - knotPeriod;
|
|
1396
|
+
knots[knots.length - 1] = knots[leftIndex + degree] + knotPeriod;
|
|
1397
|
+
return {
|
|
1398
|
+
bcurve: {
|
|
1399
|
+
points: poles,
|
|
1400
|
+
knots,
|
|
1401
|
+
closed: true,
|
|
1402
|
+
order: curve.order,
|
|
1403
|
+
},
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1406
|
+
else {
|
|
1407
|
+
return {
|
|
1408
|
+
bcurve: {
|
|
1409
|
+
points: curve.copyPoints(),
|
|
1410
|
+
knots: curve.copyKnots(true),
|
|
1411
|
+
closed: false,
|
|
1412
|
+
order: curve.order,
|
|
1413
|
+
},
|
|
1414
|
+
};
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
/** Convert strongly typed instance to tagged json */
|
|
1418
|
+
handleBSplineSurface3d(surface) {
|
|
1419
|
+
// ASSUME -- if the curve originated "closed" the knot and pole replication are unchanged,
|
|
1420
|
+
// so first and last knots can be re-assigned, and last (degree - 1) poles can be deleted.
|
|
1421
|
+
const periodicU = surface.isClosable(0);
|
|
1422
|
+
const periodicV = surface.isClosable(1);
|
|
1423
|
+
if (periodicU || periodicV) {
|
|
1424
|
+
let numUPoles = surface.numPolesUV(0);
|
|
1425
|
+
let numVPoles = surface.numPolesUV(1);
|
|
1426
|
+
if (periodicU)
|
|
1427
|
+
numUPoles -= surface.degreeUV(0);
|
|
1428
|
+
if (periodicV)
|
|
1429
|
+
numVPoles -= surface.degreeUV(1);
|
|
1430
|
+
const xyz = Point3d.create();
|
|
1431
|
+
const grid = [];
|
|
1432
|
+
for (let j = 0; j < numVPoles; j++) {
|
|
1433
|
+
const stringer = [];
|
|
1434
|
+
for (let i = 0; i < numUPoles; i++) {
|
|
1435
|
+
surface.getPoint3dPole(i, j, xyz);
|
|
1436
|
+
stringer.push([xyz.x, xyz.y, xyz.z]);
|
|
1437
|
+
}
|
|
1438
|
+
grid.push(stringer);
|
|
1439
|
+
}
|
|
1440
|
+
return {
|
|
1441
|
+
bsurf: {
|
|
1442
|
+
points: grid,
|
|
1443
|
+
uKnots: surface.copyKnots(0, true),
|
|
1444
|
+
vKnots: surface.copyKnots(1, true),
|
|
1445
|
+
orderU: surface.orderUV(0),
|
|
1446
|
+
orderV: surface.orderUV(1),
|
|
1447
|
+
closedU: periodicU,
|
|
1448
|
+
closedV: periodicV,
|
|
1449
|
+
},
|
|
1450
|
+
};
|
|
1451
|
+
}
|
|
1452
|
+
else {
|
|
1453
|
+
return {
|
|
1454
|
+
bsurf: {
|
|
1455
|
+
points: surface.getPointArray(false),
|
|
1456
|
+
uKnots: surface.copyKnots(0, true),
|
|
1457
|
+
vKnots: surface.copyKnots(1, true),
|
|
1458
|
+
orderU: surface.orderUV(0),
|
|
1459
|
+
orderV: surface.orderUV(1),
|
|
1460
|
+
},
|
|
1461
|
+
};
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
/** Convert strongly typed instance to tagged json */
|
|
1465
|
+
handleBezierCurve3dH(curve) {
|
|
1466
|
+
const knots = [];
|
|
1467
|
+
const order = curve.order;
|
|
1468
|
+
for (let i = 0; i < order; i++)
|
|
1469
|
+
knots.push(0.0);
|
|
1470
|
+
for (let i = 0; i < order; i++)
|
|
1471
|
+
knots.push(1.0);
|
|
1472
|
+
return {
|
|
1473
|
+
bcurve: {
|
|
1474
|
+
points: curve.copyPolesAsJsonArray(),
|
|
1475
|
+
knots,
|
|
1476
|
+
closed: false,
|
|
1477
|
+
order: curve.order,
|
|
1478
|
+
},
|
|
1479
|
+
};
|
|
1480
|
+
}
|
|
1481
|
+
/** Convert strongly typed instance to tagged json */
|
|
1482
|
+
handleBSplineSurface3dH(surface) {
|
|
1483
|
+
const data = surface.getPointGridJSON();
|
|
1484
|
+
return {
|
|
1485
|
+
bsurf: {
|
|
1486
|
+
points: data.points,
|
|
1487
|
+
uKnots: surface.copyKnots(0, true),
|
|
1488
|
+
vKnots: surface.copyKnots(1, true),
|
|
1489
|
+
orderU: surface.orderUV(0),
|
|
1490
|
+
orderV: surface.orderUV(1),
|
|
1491
|
+
},
|
|
1492
|
+
};
|
|
1493
|
+
}
|
|
1494
|
+
/** Convert an array of strongly typed instances to an array of tagged json */
|
|
1495
|
+
emitArray(data) {
|
|
1496
|
+
const members = [];
|
|
1497
|
+
for (const c of data) {
|
|
1498
|
+
const toPush = this.emit(c);
|
|
1499
|
+
members.push(toPush);
|
|
1500
|
+
}
|
|
1501
|
+
return members;
|
|
1502
|
+
}
|
|
1503
|
+
/** Convert GeometryQuery data (array or single instance) to instance to tagged json */
|
|
1504
|
+
emit(data) {
|
|
1505
|
+
if (Array.isArray(data))
|
|
1506
|
+
return this.emitArray(data);
|
|
1507
|
+
if (data instanceof GeometryQuery) {
|
|
1508
|
+
return data.dispatchToGeometryHandler(this);
|
|
1509
|
+
}
|
|
1510
|
+
else if (data instanceof TaggedNumericData) {
|
|
1511
|
+
return this.handleTaggedNumericData(data);
|
|
1512
|
+
}
|
|
1513
|
+
return undefined;
|
|
1514
|
+
}
|
|
1515
|
+
/** One-step static method to create a writer and emit a json object */
|
|
1516
|
+
static toIModelJson(data) {
|
|
1517
|
+
const writer = new Writer();
|
|
1518
|
+
return writer.emit(data);
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
IModelJson.Writer = Writer;
|
|
1522
|
+
})(IModelJson || (IModelJson = {}));
|
|
1523
|
+
//# sourceMappingURL=IModelJsonSchema.js.map
|