Change Log - geometry-core

2.9.0

Wed Nov 18 2020

Updates

  • method to search a curve collection and return the curvePrimitive, fraction, and xyz of point closest to a spacePoint
  • New method UVSurfaceOps.sampledRangeOfOffsetPatch
  • New method PolyfaceQuery.boundaryOfVisibleSubset
  • Serialize and deserialize typescript geometry to/from flatbuffers
  • Read and Write PointString in flatbuffer

2.8.0

Fri Oct 23 2020

Updates

  • New methods PolyfaceQuery.buildAverageNormals and .buildPerFaceNormals
  • Fix bugs in integrated spirals with nonzero start radius

2.7.5

Fri Oct 23 2020

Version update only

2.7.4

Mon Oct 19 2020

Version update only

2.7.3

Wed Oct 14 2020

Version update only

2.7.2

Tue Oct 13 2020

Version update only

2.7.1

Thu Oct 08 2020

Version update only

2.7.0

Fri Oct 02 2020

Updates

  • In imjs "cone", accept a single "radius" representing both "startRadius" and "endRadius".

2.6.5

Sat Sep 26 2020

Version update only

2.6.4

Tue Sep 22 2020

Version update only

2.6.3

Mon Sep 21 2020

Version update only

2.6.2

Mon Sep 21 2020

Version update only

2.6.1

Fri Sep 18 2020

Version update only

2.6.0

Thu Sep 17 2020

Updates

  • GrowableArray pushFront; correct doc comments in degreesPerRadian and radiansPerDegree; czech spiral distance methods
  • In polyface builder, identify and ignore more degenerate cases.
  • Moved ESLint configuration to a plugin
  • Fixed: GrowableXYZArray failed to correctly initialize when array of doubles were given
  • Refactor test code to pass lint validations

2.5.5

Wed Sep 02 2020

Version update only

2.5.4

Fri Aug 28 2020

Version update only

2.5.3

Wed Aug 26 2020

Version update only

2.5.2

Tue Aug 25 2020

Version update only

2.5.1

Mon Aug 24 2020

Version update only

2.5.0

Thu Aug 20 2020

Updates

  • Direct Spiral types AustralianRailCorp, HalfCosine
  • Spiral Line-to-Line constructions; make spiral classes public
  • Spiral support: LineSpiralArcSpiralLine construction; active interval stroking
  • Switch to ESLint

2.4.2

Fri Aug 14 2020

Version update only

2.4.1

Fri Aug 07 2020

Version update only

2.4.0

Tue Jul 28 2020

Updates

  • Correct recursion in angle adjustments when input is NaN
  • Implement "Direct" spirals (RLCubic, Arema, DirectHalfCosine)
  • Implement Clothoid, Bloss, Biquadratic, Sine and Cosine spirals within TransitionSpiral3d

2.3.3

Thu Jul 23 2020

Version update only

2.3.2

Tue Jul 14 2020

Version update only

2.3.1

Mon Jul 13 2020

Version update only

2.3.0

Fri Jul 10 2020

Updates

  • Geometry API additions: curveCurveCloseApproach, multipolygon booleans, polygon spine

2.2.1

Tue Jul 07 2020

Version update only

2.2.0

Fri Jun 19 2020

Updates

  • ClipUtilities.createXYOffsetClipFromLineString
  • Bug in region booleans: Loops within parity region were not being simplified by ConsidateAdjacentPrimitives.

2.1.0

Thu May 28 2020

Updates

  • Fixed ClipVector.performTransformTo/FromClip() failing to transform the input.
  • (1) In xy region booleans, support curved edges; (2) ExportGraphicsMeshVisitor class
  • (alpha) boolean operations among regions with curved boundaries.
  • Correct IModelJson.Reader error which lost normals.
  • In region booleans, create bridge edges to link islands to surroundings.
  • New methods for chaining curves. First use of KaTeX in docs
  • Fix PolyfaceData.compress to handle normals and params

2.0.0

Wed May 06 2020

Updates

  • freeze methods return Readonly
  • Show min/max window error for mouse wheel zoom.
  • Show min/max window error for mouse wheel zoom.
  • Methods to create mitered pipe sequences; improve chainCollector sort for full-chain reorder.
  • handle simple wraparound in consolidateAdjacentPrimitives (for sandy Bugai)
  • Fix z bug in Arc3d cloneAtZ()
  • CurveFactory and RegionOps support for pipe construction and finding loops in unstructured curve sets
  • BUG 273249
  • PolyfaceClip for plane, convex, union clippers. Prevent small fragment construction in curve clip.
  • docs for PolyfaceClip.clipPolyfaceInsideOutside
  • modernize cubic root finder
  • geometry coverage. Logic bugs in ChainCollectorContext.needBreakBetweenPrimitives
  • ChainCollector support for DesignReview; Bspline through points for futureOnBridge
  • In earcut triangulation, test for bowtie point.
  • v2.0 API cleanup -- Ellipsoid use LongitudeLatitudeNumber instead of Point2d for angle return
  • imjs importer; move curve context classes to separate files
  • Remove deprecated APIs; see NextVersion.md for details.
  • Upgrade to Rush 5.23.2
  • Remove support for the iModel.js module system by no longer delivering modules.

1.14.1

Wed Apr 22 2020

Version update only

1.14.0

Tue Mar 31 2020

Version update only

1.13.0

Wed Mar 04 2020

Updates

  • Polyface clip to union of convex sets

1.12.0

Wed Feb 12 2020

Updates

  • Implement generic boolean tree of Clipper objects (for Feature 269514)
  • Arc3d precise range; BSpline1dNd interval recursion bug; BooleanClip unit tests
  • MomentData quantity sign controls principal direction orientation.
  • BooleanClipFactory enhancements
  • New method ellipsoide.silhouette (eyePoint: Point4d):Arc3d
  • Correct extended geometry handling in LineString3d.closestPoint
  • (a) Control Triangulation of area booleans, (b) methods to find and purge duplicate facets
  • Improve error handling for triangulation and merge of bad input"
  • iModel write API development

1.11.0

Wed Jan 22 2020

Updates

  • Detect "end to end" connection of colinear line segments during curve-curve intersection methods.
  • RegionOps planar subdivision support.
  • #1.11.0-dev.5_4384: XY linework and Region cleanup methods
  • Upgrade to TypeScript 3.7.2.

1.10.0

Tue Jan 07 2020

Updates

  • CurveCurve.intersectionPairsXY returns details of line-line and arc-arc coincident geometry
  • Add method for mesh orientation fixup.
  • Path-on-Ellipsoid support
  • New method RegionOps.sortOuterAndHoleLoopsXY
  • BUG: Fix inverseState management in MatrixMatrix multliplies with preallocated result and/or aliasing
  • Added Matrix4d.isExactEqual()

1.9.0

Tue Dec 10 2019

Updates

  • EllipsoidPatch support: patch.projectPointToSurface, ellipsoid.constantLatitudeArc, ellipsoid.constantLongitudeArc
  • Great Circle extraction on Ellipsoid
  • Correct bug in z part of Vector3d spherical construction. New method to split mesh by eyevector
  • linearSystem3d z term
  • Code cleanup from codeQL hits
  • Ellipsoid and EllipsoidPatch classes with range and intersectRay support

1.8.0

Fri Nov 22 2019

Updates

  • PolyfaceQuery services: PolyfaceQuery.markAllEdgeVisibility PolyfaceQuery.markPairedEdgesInvisible PolyfaceQuery.setSingleEdgeVisibility PolyfaceQuery.computeFacetUnitNormal
  • Correct sectioning of meshes with (a) nonconvex facets and (b) multicomponent plane intersections
  • Intersect Ray with Sphere
  • Spherical patch range; optional result in range3d.corners()
  • Refactor analysis of range of a+b sin(theta) + c sin(theta)
  • Added missing topic descriptions
  • Added earthRadiusWGS84 constants

1.7.0

Fri Nov 01 2019

Updates

  • Fix bugs in PolygonOffsetContext
  • Mesh support: TVertexFixup and ColinearEdgeFixup
  • Lightweight iterator over Point3ds contained in an IndexedXYZCollection; Transform.multiplyRange() returns a null range if input is a null range.

1.6.0

Wed Oct 09 2019

Updates

  • Triangulate between linestrings; consolidateAdjacentPrimitives; Test if points are a rectangle
  • General matrix4d inverse

1.5.0

Mon Sep 30 2019

Updates

  • Eliminate use of Math.hypot
  • Polyface mesh "split to components"
  • Fast range filtering for cutFill (and other) searches
  • Incremental Edge Flipping, optimize Delauney circle test
  • Explicit undefined initialization for HalfEdge
  • Upgrade to TypeScript 3.6.2

1.4.0

Tue Sep 10 2019

Updates

  • Region "in/on/out" tests
  • Triangulation of isolated point array
  • RegionOps methods to split curve sets
  • PolyfaceClip.computeCutFill method
  • New method ray3d.intersectionWithRange3d
  • Added AnyGeometryQuery and AnySolidPrimitive union types; added type discriminator fields to GeometryQuery, SolidPrimitive, CurvePrimitive, and CurveCollection; tightened any return types for IModelJson.Reader methods.

1.3.0

Tue Aug 13 2019

Updates

  • WireMoment computation; polyline filters for short edge, small triangle, perpendicular projection
  • Triangulate cut faces in polyface clip. Variant point data parse. Bilinear Patch ray intersection"
  • Construct offset from path with curves.
  • Mesh principal axis computation.
  • Document unit length rows/cols requirement of Matrix3d.toQuaternion
  • Correct point4d normalization to handle small w values (NPC)
  • Improved grid display performance.

1.2.0

Wed Jul 24 2019

Updates

  • When compressing linestrings, detect first/last segment colinear case.
  • Consistent stroke counts on BezierCurve3d, BezierCurve3dH
  • Full 3d intersection CurveCurve.intersectionXYZ (no bsplines)
  • New method for polyline wire offset.
  • WIP (1) improve duplicated edge handling in polygon booleans (2) improve variant point array handling
  • Polyline simplification by Puecker-Douglas (chord distance)

1.1.0

Mon Jul 01 2019

Updates

  • Export bilinear patch (used by bing elevation)
  • Removed missing group descriptions
  • Add "extend" support to various CurvePrimitive.closestPoint methods.
  • Add PolyfaceQuery methods to drape linestring to facets
  • Priority queue sweep logic in HalfEdgeGraph
  • PolarData class for x-y-r-theta constraint solve. CurvePathWithDistanceIndex expose path with getter.
  • Region centroid and polygon boolean methods
  • TransitionSpiral bug fixes in transform, use of active interval
  • Prevent triangle flip hang
  • Bspline Curve chord tolerance
  • Add quick-exit completion tests in earcut triangulation
  • Update to TypeScript 3.5

1.0.0

Mon Jun 03 2019

Updates

  • PolyfaceQuery::sweepLinestringToFacetsXYreturnSweptFacets
  • Correct (undocumented) methods
  • PolyfaceClip class with plane, convex set clips.
  • point/vector coverage
  • Detect high-multiplicity knots when saturating a bspline. Skip those intervals in stroking.

0.191.0

Mon May 13 2019

Updates

  • Adds parameter for api-extractor to validate missing release tags
  • Fix for PolygonOps.centroidAreaNormal.
  • View clip fixes and start of tools.
  • Range1dArray coverage
  • Coverage; enable public/internal verification.
  • Add doc to many methods. Modernize ray intersect clip plane logic and methods.
  • closestApproachRay3dRay3d. centroid bugs
  • ClipPlane enhancements; method to compute clip faces for convex set intersection with range
  • ClipPrimitive modernization
  • Debug json clip plane usage
  • add docs for methods in Arc3d, CurvePrimitive, Newton
  • Add comments to (undocumented) methods
  • LineString3d code coverage
  • public and internal doc markup
  • @public markup
  • In FrustumAnimation, detect true center of rotationn
  • Reduce memory allocations in clipping.
  • Method docs, ConvexClipPlaneSetIntersectRange enhancements
  • new method to check of clipper intersects range, with quick exit
  • ClipVector and ClipUtilities test and enhancements
  • Triangulation bug (multiple holes not linked correctly)
  • Fix broken links
  • Put sourcemap in npm package.
  • Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
  • New code for regularizing a single face.
  • Upgrade TypeDoc dependency to 0.14.2

0.190.0

Thu Mar 14 2019

Updates

  • Rename/Refactor triangulation

0.189.0

Wed Mar 06 2019

Updates

  • geometry-core camel case
  • Allow subclasses of Range to use static methods
  • Changes package.json to include api-extractor and adds api-extractor.json
  • Use new buildIModelJsBuild script
  • AxisAlignedBox and ElementAlignedBox are now typed to Range3d rather than classes
  • clone methods are no longer generic
  • Remove unneeded typedoc plugin dependency
  • PolyfaceBuilder solid primitive improvements
  • PolyfaceBuilder improvements. Construct normals for sweeps. Mesh pairing closure test.
  • PolyfaceBuilder creates params and normals for all Solid types
  • Mesh Normal bugs, some @internal markup
  • Consistent naming of "get" methods in Growable arrays.
  • Distribute .test.ts files to subdirectories
  • Improve polygon triangulations quality by early flipping behind the earcut front
  • Added freeze methods to Angle and Point2d
  • Bug fixes in PolyfaceBuilder
  • Update for geometry GrowableXYArray usage
  • New class SmoothTransformBetweenFrusta for smooth frustum animation
  • Save BUILD_SEMVER to globally accessible map
  • add optional argument to SmoothTransformBetweenFrusta
  • Upgrade to TypeScript 3.2.2

0.188.0

Wed Jan 16 2019

Version update only

0.187.0

Tue Jan 15 2019

Version update only

0.186.0

Mon Jan 14 2019

Version update only

0.185.0

Fri Jan 11 2019

Version update only

0.184.0

Thu Jan 10 2019

Updates

  • Code coverage. sphere and torus derivative errors. solids reject singular transforms.
  • Add to quaternion tests

0.183.0

Mon Jan 07 2019

Version update only

0.182.0

Mon Jan 07 2019

Version update only

0.181.0

Fri Jan 04 2019

Updates

  • Suppress geometry test console output (except performance)

0.180.0

Wed Jan 02 2019

Updates

  • Special case logic for opening bspline arcs (which are pre-saturated in bezier form)
  • Add quaternion methods
  • Add quaternion tests - fix transpose

0.179.0

Wed Dec 19 2018

Version update only

0.178.0

Thu Dec 13 2018

Version update only

0.177.0

Wed Dec 12 2018

Version update only

0.176.0

Mon Dec 10 2018

Version update only

0.175.0

Mon Dec 10 2018

Version update only

0.174.0

Mon Dec 10 2018

Version update only

0.173.0

Thu Dec 06 2018

Updates

  • Custom imodelJs noDirectImport lint rule implemented, noDuplicateImport lint rule turned on.

0.172.0

Tue Dec 04 2018

Version update only

0.171.0

Mon Dec 03 2018

Version update only

0.170.0

Mon Nov 26 2018

Version update only

0.169.0

Tue Nov 20 2018

Version update only

0.168.0

Sat Nov 17 2018

Version update only

0.167.0

Fri Nov 16 2018

Version update only

0.166.0

Mon Nov 12 2018

Version update only

0.165.0

Mon Nov 12 2018

Updates

  • bspline docs. Add bezier curve left and right subdivision methods"
  • Correct return value (undefined is right!) for LineString3d.pointAt (index)

0.164.0

Thu Nov 08 2018

Updates

  • Complete analysis import test application
  • Add support for PolyfaceAuxData to PolyfaceVisitor
  • Implement curve method "moveSignedDistanceFromFraction"
  • polyface.compress performance problem -- extraneous reallocations
  • CurveChainWithDistanceIndex derivative and distance methods
  • PolyfaceAuxData documentation
  • Updated to TypeScript 3.1

0.163.0

Wed Oct 31 2018

Updates

  • CurveChainWithDistanceIndex WIP
  • fromJSON tests. Geometry.isAlmostEqualNumber uses smallAngleRadians as absolute minimum tolerance.
  • Add tests for fromJSON methods (small classes)
  • Expand test coverage. Use small absolute tolerance in Geometry.isAlmostEqualNumber. "w" component of BezierCurve3d.getPolePoint4d.

0.162.0

Wed Oct 24 2018

Updates

  • Merge
  • fromJSON tests. Geometry.isAlmostEqualNumber uses smallAngleRadians as absolute minimum tolerance.
  • Rename PNG files as png

0.161.0

Fri Oct 19 2018

Version update only

0.160.0

Wed Oct 17 2018

Version update only

0.159.0

Tue Oct 16 2018

Version update only

0.158.0

Mon Oct 15 2018

Version update only

0.157.0

Sun Oct 14 2018

Version update only

0.156.0

Fri Oct 12 2018

Updates

  • Initial release

Last Updated: 18 November, 2020