crossing()
Names one corner of a region() declaration: the n-th point where a
meets b, counted from 1 along a — through its edges in the order they
were built, each along its own direction. Needed only where entities and
sides leave several regions reading the same: a spline that weaves across
a line cuts off several cells that are all l1, far(sp1), and
region('r2', l1, far(sp1), crossing(l1, sp1, 5)) is the one with their
fifth meeting for a corner. A declaration takes one crossing() at most.
The count follows the geometry: it shifts when an edit adds or removes a
meeting before it along a, and along a full circle when a meeting
passes the circle's start point — count along a line, an arc, a spline or
an ellipse where there is one.
Returns: IRegionCrossing
See the guide for detailed usage examples.
Signatures
crossing(a: IRegionEdge, b: IRegionEdge, n: number): IRegionCrossing
Names one corner of a region() declaration: the n-th point where a
meets b, counted from 1 along a — through its edges in the order they
were built, each along its own direction. Needed only where entities and
sides leave several regions reading the same: a spline that weaves across
a line cuts off several cells that are all l1, far(sp1), and
region('r2', l1, far(sp1), crossing(l1, sp1, 5)) is the one with their
fifth meeting for a corner. A declaration takes one crossing() at most.
The count follows the geometry: it shifts when an edit adds or removes a
meeting before it along a, and along a full circle when a meeting
passes the circle's start point — count along a line, an arc, a spline or
an ellipse where there is one.
| Parameter | Type | Description |
|---|---|---|
a | IRegionEdge | The sketch entity (or edge) the meetings are counted along |
b | IRegionEdge | The sketch entity (or edge) it meets |
n | number | Which meeting, from 1 |