addTransformedRangeMesh Method
Add facets for a transformed range box.
- For best results, the transformed range corners should define a nonzero volume or area.
addTransformedRangeMesh(transform: Transform, range: Range3d, faceSelector?: boolean[]): void
Parameter | Type | Description |
---|---|---|
transform | Transform | applied to the range points before adding to the polyface. |
range | Range3d | sides become 6 quad polyface facets. |
faceSelector | boolean[] | for each face in the order of BoxTopology.cornerIndexCCW , faceSelector[i] === false skipsthat facet. |
Returns - void
Defined in
- polyface/PolyfaceBuilder.ts Line 261
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.