@itwin/core-geometry 4.4.0-dev.2 → 4.4.0-dev.4
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 +6 -1
- package/lib/cjs/topology/Graph.d.ts +19 -9
- package/lib/cjs/topology/Graph.d.ts.map +1 -1
- package/lib/cjs/topology/Graph.js +19 -9
- package/lib/cjs/topology/Graph.js.map +1 -1
- package/lib/cjs/topology/HalfEdgeGraphValidation.d.ts +23 -18
- package/lib/cjs/topology/HalfEdgeGraphValidation.d.ts.map +1 -1
- package/lib/cjs/topology/HalfEdgeGraphValidation.js +23 -18
- package/lib/cjs/topology/HalfEdgeGraphValidation.js.map +1 -1
- package/lib/cjs/topology/HalfEdgeNodeXYZUV.d.ts +17 -10
- package/lib/cjs/topology/HalfEdgeNodeXYZUV.d.ts.map +1 -1
- package/lib/cjs/topology/HalfEdgeNodeXYZUV.js +38 -17
- package/lib/cjs/topology/HalfEdgeNodeXYZUV.js.map +1 -1
- package/lib/esm/topology/Graph.d.ts +19 -9
- package/lib/esm/topology/Graph.d.ts.map +1 -1
- package/lib/esm/topology/Graph.js +19 -9
- package/lib/esm/topology/Graph.js.map +1 -1
- package/lib/esm/topology/HalfEdgeGraphValidation.d.ts +23 -18
- package/lib/esm/topology/HalfEdgeGraphValidation.d.ts.map +1 -1
- package/lib/esm/topology/HalfEdgeGraphValidation.js +23 -18
- package/lib/esm/topology/HalfEdgeGraphValidation.js.map +1 -1
- package/lib/esm/topology/HalfEdgeNodeXYZUV.d.ts +17 -10
- package/lib/esm/topology/HalfEdgeNodeXYZUV.d.ts.map +1 -1
- package/lib/esm/topology/HalfEdgeNodeXYZUV.js +38 -17
- package/lib/esm/topology/HalfEdgeNodeXYZUV.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log - @itwin/core-geometry
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 08 Dec 2023 15:26:18 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
## 4.3.0
|
|
6
6
|
Thu, 07 Dec 2023 17:43:09 GMT
|
|
@@ -160,6 +160,11 @@ Mon, 22 May 2023 15:34:14 GMT
|
|
|
160
160
|
- Plane3d evaluations for issue #5169
|
|
161
161
|
- Update to eslint@8
|
|
162
162
|
|
|
163
|
+
## 3.8.0
|
|
164
|
+
Fri, 08 Dec 2023 15:23:59 GMT
|
|
165
|
+
|
|
166
|
+
_Version update only_
|
|
167
|
+
|
|
163
168
|
## 3.7.17
|
|
164
169
|
Mon, 20 Nov 2023 18:24:23 GMT
|
|
165
170
|
|
|
@@ -22,14 +22,16 @@ export declare enum HalfEdgeMask {
|
|
|
22
22
|
/**
|
|
23
23
|
* Mask commonly set consistently around exterior faces.
|
|
24
24
|
* * A boundary edge with interior to one side, exterior to the other, will have EXTERIOR only on the outside.
|
|
25
|
-
* * An
|
|
25
|
+
* * An edge inserted "within a purely exterior face" can have EXTERIOR on both sides.
|
|
26
26
|
* * An interior edge (such as added during triangulation) will have no EXTERIOR bits.
|
|
27
|
+
* * Visualization can be found at geometry/internaldocs/Graph.md
|
|
27
28
|
*/
|
|
28
29
|
EXTERIOR = 1,
|
|
29
30
|
/**
|
|
30
|
-
* Mask commonly set (on both sides) of original geometry edges that are transition from outside
|
|
31
|
+
* Mask commonly set (on both sides) of original geometry edges that are transition from outside to inside.
|
|
31
32
|
* * At the moment of creating an edge from primary user boundary loop coordinates, the fact that an edge is BOUNDARY
|
|
32
33
|
* is often clear even though there is uncertainty about which side should be EXTERIOR.
|
|
34
|
+
* * Visualization can be found at geometry/internaldocs/Graph.md
|
|
33
35
|
*/
|
|
34
36
|
BOUNDARY_EDGE = 2,
|
|
35
37
|
/**
|
|
@@ -199,7 +201,7 @@ export declare class HalfEdge implements HalfEdgeUserData {
|
|
|
199
201
|
/**
|
|
200
202
|
* Create a new vertex within the edge beginning at `baseA`.
|
|
201
203
|
* * This creates two new nodes in their own vertex loop.
|
|
202
|
-
* * If the base is undefined
|
|
204
|
+
* * If the base is `undefined`, create a single-edge loop.
|
|
203
205
|
* * Existing nodes stay in their face and vertex loops and retain xyz and i values.
|
|
204
206
|
* * Unlike [[pinch]], this breaks the edgeMate pairing of the input edge:
|
|
205
207
|
* each node of the input edge gets a new node as its edge mate.
|
|
@@ -412,7 +414,15 @@ export declare class HalfEdge implements HalfEdgeUserData {
|
|
|
412
414
|
vectorToFaceSuccessor(result?: Vector3d): Vector3d;
|
|
413
415
|
/** Return Vector3d from `this` to face successor. */
|
|
414
416
|
vectorToFacePredecessor(result?: Vector3d): Vector3d;
|
|
415
|
-
/**
|
|
417
|
+
/**
|
|
418
|
+
* Test if `spaceNode` is in the sector of `sectorNode`.
|
|
419
|
+
* * The sector at `sectorNode` is defined by two rays starting at `sectorNode` and extending along the edges
|
|
420
|
+
* owned by `sectorNode` and its face predecessor.
|
|
421
|
+
* * In general, this method returns `true` if the coordinates of `spaceNode` are _strictly_ inside this sector
|
|
422
|
+
* (not on the rays).
|
|
423
|
+
* * Interpretation is whether a viewer at `sectorNode` can see `spaceNode` between the two rays.
|
|
424
|
+
* * Degenerate sectors of 180 or 360 degrees have special handling.
|
|
425
|
+
*/
|
|
416
426
|
static isNodeVisibleInSector(spaceNode: HalfEdge, sectorNode: HalfEdge): boolean;
|
|
417
427
|
/** Returns 2D cross product of vectors from `base` to `targetA` and from `base` to `targetB`. */
|
|
418
428
|
static crossProductXYToTargets(base: HalfEdge, targetA: HalfEdge, targetB: HalfEdge): number;
|
|
@@ -430,7 +440,7 @@ export declare class HalfEdge implements HalfEdgeUserData {
|
|
|
430
440
|
* @param nodeB the second node in the chain; the node at the sector vertex.
|
|
431
441
|
* @param nodeC the third node in the chain, nominally the face successor of nodeB.
|
|
432
442
|
* @param signedAreaTol optional signed area tolerance to use in test for parallel vectors. Typically this is a
|
|
433
|
-
* fraction of the sector's face's signed area. We can't compute area here, so if undefined
|
|
443
|
+
* fraction of the sector's face's signed area. We can't compute area here, so if `undefined`, zero tolerance is used.
|
|
434
444
|
* @returns true iff the sector is convex. A degenerate sector, where the incident edges overlap, returns false.
|
|
435
445
|
*/
|
|
436
446
|
static isSectorConvex(nodeA: HalfEdge, nodeB: HalfEdge, nodeC: HalfEdge, signedAreaTol?: number): boolean;
|
|
@@ -440,7 +450,7 @@ export declare class HalfEdge implements HalfEdgeUserData {
|
|
|
440
450
|
* (convex) or a right turn (not-convex). Note that if we have a convex face, then to traverse it in ccw orientation,
|
|
441
451
|
* we always do left turns. However, if the face is not convex, we make both left and right turns.
|
|
442
452
|
* * This computation ignores z-coordinates.
|
|
443
|
-
* @param signedAreaTol optional signed area tolerance to use in test for parallel vectors. If undefined
|
|
453
|
+
* @param signedAreaTol optional signed area tolerance to use in test for parallel vectors. If `undefined`, a fraction
|
|
444
454
|
* (`Geometry.smallMetricDistanceSquared`) of the computed signed area is used. Pass 0 to skip toleranced computation.
|
|
445
455
|
* @returns true iff the sector is convex. A degenerate sector, where the incident edges overlap, returns false.
|
|
446
456
|
*/
|
|
@@ -567,7 +577,7 @@ export declare class HalfEdge implements HalfEdgeUserData {
|
|
|
567
577
|
fractionToZ(fraction: number): number;
|
|
568
578
|
/**
|
|
569
579
|
* Compute fractional coordinates of the intersection of edges from given base nodes.
|
|
570
|
-
* * If parallel or colinear, return undefined
|
|
580
|
+
* * If parallel or colinear, return `undefined`.
|
|
571
581
|
* * If (possibly extended) lines intersect, return the fractions of intersection as x,y in the result.
|
|
572
582
|
* @param nodeA0 base node of edge A.
|
|
573
583
|
* @param nodeB0 base node of edge B.
|
|
@@ -576,7 +586,7 @@ export declare class HalfEdge implements HalfEdgeUserData {
|
|
|
576
586
|
static transverseIntersectionFractions(nodeA0: HalfEdge, nodeB0: HalfEdge, result?: Vector2d): Vector2d | undefined;
|
|
577
587
|
/**
|
|
578
588
|
* Compute fractional position (possibly outside 0..1) of the intersection of a horizontal line with an edge.
|
|
579
|
-
* * If the edge is horizontal with (approximate) identical y, return the node.
|
|
589
|
+
* * If the edge is horizontal with (approximate) identical y, return the base node.
|
|
580
590
|
* * If the edge is horizontal with different y, return `undefined`.
|
|
581
591
|
* @param node0 base node of edge.
|
|
582
592
|
* @param y y coordinate of the horizontal line.
|
|
@@ -658,7 +668,7 @@ export declare class HalfEdgeGraph {
|
|
|
658
668
|
/**
|
|
659
669
|
* Create a new vertex within the edge beginning at `base`.
|
|
660
670
|
* * This creates two new nodes in their own vertex loop.
|
|
661
|
-
* * If the base is undefined
|
|
671
|
+
* * If the base is `undefined`, create a single-edge loop.
|
|
662
672
|
* * Existing nodes stay in their face and vertex loops and retain xyz and i values.
|
|
663
673
|
* * Unlike [[pinch]], this breaks the edgeMate pairing of the input edge:
|
|
664
674
|
* each node of the input edge gets a new node as its edge mate.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../../src/topology/Graph.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAQvD;;;;;;;;;;;GAWG;AACH,oBAAY,YAAY;IAStB;;;;;OAKG;IACH,QAAQ,IAAa;IACrB;;;;OAIG;IACH,aAAa,IAAa;IAC1B;;;;;OAKG;IACH,YAAY,IAAa;IACzB,6EAA6E;IAC7E,OAAO,KAAY;IACnB,wDAAwD;IACxD,iBAAiB,MAAa;IAC9B,2CAA2C;IAC3C,SAAS,MAAa;IACtB,oBAAoB;IACpB,SAAS,IAAa;IACtB,oEAAoE;IACpE,mBAAm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MAAM;CAarC"}
|
|
@@ -43,14 +43,16 @@ var HalfEdgeMask;
|
|
|
43
43
|
/**
|
|
44
44
|
* Mask commonly set consistently around exterior faces.
|
|
45
45
|
* * A boundary edge with interior to one side, exterior to the other, will have EXTERIOR only on the outside.
|
|
46
|
-
* * An
|
|
46
|
+
* * An edge inserted "within a purely exterior face" can have EXTERIOR on both sides.
|
|
47
47
|
* * An interior edge (such as added during triangulation) will have no EXTERIOR bits.
|
|
48
|
+
* * Visualization can be found at geometry/internaldocs/Graph.md
|
|
48
49
|
*/
|
|
49
50
|
HalfEdgeMask[HalfEdgeMask["EXTERIOR"] = 1] = "EXTERIOR";
|
|
50
51
|
/**
|
|
51
|
-
* Mask commonly set (on both sides) of original geometry edges that are transition from outside
|
|
52
|
+
* Mask commonly set (on both sides) of original geometry edges that are transition from outside to inside.
|
|
52
53
|
* * At the moment of creating an edge from primary user boundary loop coordinates, the fact that an edge is BOUNDARY
|
|
53
54
|
* is often clear even though there is uncertainty about which side should be EXTERIOR.
|
|
55
|
+
* * Visualization can be found at geometry/internaldocs/Graph.md
|
|
54
56
|
*/
|
|
55
57
|
HalfEdgeMask[HalfEdgeMask["BOUNDARY_EDGE"] = 2] = "BOUNDARY_EDGE";
|
|
56
58
|
/**
|
|
@@ -201,7 +203,7 @@ class HalfEdge {
|
|
|
201
203
|
/**
|
|
202
204
|
* Create a new vertex within the edge beginning at `baseA`.
|
|
203
205
|
* * This creates two new nodes in their own vertex loop.
|
|
204
|
-
* * If the base is undefined
|
|
206
|
+
* * If the base is `undefined`, create a single-edge loop.
|
|
205
207
|
* * Existing nodes stay in their face and vertex loops and retain xyz and i values.
|
|
206
208
|
* * Unlike [[pinch]], this breaks the edgeMate pairing of the input edge:
|
|
207
209
|
* each node of the input edge gets a new node as its edge mate.
|
|
@@ -698,7 +700,15 @@ class HalfEdge {
|
|
|
698
700
|
const other = this.facePredecessor;
|
|
699
701
|
return Point3dVector3d_1.Vector3d.create(other.x - this.x, other.y - this.y, other.z - this.z, result);
|
|
700
702
|
}
|
|
701
|
-
/**
|
|
703
|
+
/**
|
|
704
|
+
* Test if `spaceNode` is in the sector of `sectorNode`.
|
|
705
|
+
* * The sector at `sectorNode` is defined by two rays starting at `sectorNode` and extending along the edges
|
|
706
|
+
* owned by `sectorNode` and its face predecessor.
|
|
707
|
+
* * In general, this method returns `true` if the coordinates of `spaceNode` are _strictly_ inside this sector
|
|
708
|
+
* (not on the rays).
|
|
709
|
+
* * Interpretation is whether a viewer at `sectorNode` can see `spaceNode` between the two rays.
|
|
710
|
+
* * Degenerate sectors of 180 or 360 degrees have special handling.
|
|
711
|
+
*/
|
|
702
712
|
static isNodeVisibleInSector(spaceNode, sectorNode) {
|
|
703
713
|
// remark: fussy details ported from native code. The obscure cases seemed "unlikely" at first. But pre-existing
|
|
704
714
|
// unit tests for triangulation pinged just about everything. So it really matters to do the "0" cases this way
|
|
@@ -759,7 +769,7 @@ class HalfEdge {
|
|
|
759
769
|
* @param nodeB the second node in the chain; the node at the sector vertex.
|
|
760
770
|
* @param nodeC the third node in the chain, nominally the face successor of nodeB.
|
|
761
771
|
* @param signedAreaTol optional signed area tolerance to use in test for parallel vectors. Typically this is a
|
|
762
|
-
* fraction of the sector's face's signed area. We can't compute area here, so if undefined
|
|
772
|
+
* fraction of the sector's face's signed area. We can't compute area here, so if `undefined`, zero tolerance is used.
|
|
763
773
|
* @returns true iff the sector is convex. A degenerate sector, where the incident edges overlap, returns false.
|
|
764
774
|
*/
|
|
765
775
|
static isSectorConvex(nodeA, nodeB, nodeC, signedAreaTol = 0) {
|
|
@@ -778,7 +788,7 @@ class HalfEdge {
|
|
|
778
788
|
* (convex) or a right turn (not-convex). Note that if we have a convex face, then to traverse it in ccw orientation,
|
|
779
789
|
* we always do left turns. However, if the face is not convex, we make both left and right turns.
|
|
780
790
|
* * This computation ignores z-coordinates.
|
|
781
|
-
* @param signedAreaTol optional signed area tolerance to use in test for parallel vectors. If undefined
|
|
791
|
+
* @param signedAreaTol optional signed area tolerance to use in test for parallel vectors. If `undefined`, a fraction
|
|
782
792
|
* (`Geometry.smallMetricDistanceSquared`) of the computed signed area is used. Pass 0 to skip toleranced computation.
|
|
783
793
|
* @returns true iff the sector is convex. A degenerate sector, where the incident edges overlap, returns false.
|
|
784
794
|
*/
|
|
@@ -1067,7 +1077,7 @@ class HalfEdge {
|
|
|
1067
1077
|
}
|
|
1068
1078
|
/**
|
|
1069
1079
|
* Compute fractional coordinates of the intersection of edges from given base nodes.
|
|
1070
|
-
* * If parallel or colinear, return undefined
|
|
1080
|
+
* * If parallel or colinear, return `undefined`.
|
|
1071
1081
|
* * If (possibly extended) lines intersect, return the fractions of intersection as x,y in the result.
|
|
1072
1082
|
* @param nodeA0 base node of edge A.
|
|
1073
1083
|
* @param nodeB0 base node of edge B.
|
|
@@ -1088,7 +1098,7 @@ class HalfEdge {
|
|
|
1088
1098
|
}
|
|
1089
1099
|
/**
|
|
1090
1100
|
* Compute fractional position (possibly outside 0..1) of the intersection of a horizontal line with an edge.
|
|
1091
|
-
* * If the edge is horizontal with (approximate) identical y, return the node.
|
|
1101
|
+
* * If the edge is horizontal with (approximate) identical y, return the base node.
|
|
1092
1102
|
* * If the edge is horizontal with different y, return `undefined`.
|
|
1093
1103
|
* @param node0 base node of edge.
|
|
1094
1104
|
* @param y y coordinate of the horizontal line.
|
|
@@ -1240,7 +1250,7 @@ class HalfEdgeGraph {
|
|
|
1240
1250
|
/**
|
|
1241
1251
|
* Create a new vertex within the edge beginning at `base`.
|
|
1242
1252
|
* * This creates two new nodes in their own vertex loop.
|
|
1243
|
-
* * If the base is undefined
|
|
1253
|
+
* * If the base is `undefined`, create a single-edge loop.
|
|
1244
1254
|
* * Existing nodes stay in their face and vertex loops and retain xyz and i values.
|
|
1245
1255
|
* * Unlike [[pinch]], this breaks the edgeMate pairing of the input edge:
|
|
1246
1256
|
* each node of the input edge gets a new node as its edge mate.
|