addMiteredPipes Method
Add quad facets along a mitered pipe that follows a centerline curve.
- Circular or elliptical pipe cross sections can be specified by supplying either a radius, a pair of semi-axis
lengths, or a full Arc3d:
- For semi-axis length input, x corresponds to an ellipse local axis nominally situated parallel to the xy-plane.
- For Arc3d input, the center is translated to the centerline start point to act as initial cross section.
addMiteredPipes(centerline: IndexedXYZCollection | Point3d[] | CurvePrimitive, sectionData: number | Readonly<WritableXAndY> | Arc3d, numFacetAround: number12): void
Parameter | Type | Description |
---|---|---|
centerline | IndexedXYZCollection | Point3d[] | CurvePrimitive | centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions. |
sectionData | number | Readonly<WritableXAndY> | Arc3d | circle radius, ellipse semi-axis lengths, or full Arc3d. |
numFacetAround | number | how many equal parameter-space chords around each section. |
Returns - void
Defined in
- polyface/PolyfaceBuilder.ts Line 2038
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.