API Reference > geometry-core > Solid > SweepContour SweepContour Class Sweepable contour with Transform for local to world interaction. The surface/solid classes LinearSweep, RotationalSweep, RuledSweep use this for their swept contours. Methods Name Description announceFacets(announce: (facets: IndexedPolyface) => void, options: StrokeOptions | undefined): void Emit facets to a function buildFacets(_builder: PolyfaceBuilder | undefined, options: StrokeOptions | undefined): void build the (cached) internal facets. clone(): SweepContour Return a deep clone. cloneTransformed(transform: Transform): SweepContour | undefined Return a transformed clone. emitFacets(builder: PolyfaceBuilder, reverse: boolean, transform?: Transform): void Emit facets to a builder. getCurves(): CurveCollection Return (Reference to) the curves isAlmostEqual(other: any): boolean Test for near equality of cures and local frame. purgeFacets(): void delete existing facets. sweepToUnionOfConvexClipPlaneSets(): UnionOfConvexClipPlaneSets | undefined Triangulate the region. tryTransformInPlace(transform: Transform): boolean Apply transform to the curves, axis. createForLinearSweep(contour: CurveCollection, defaultNormal?: Vector3d): SweepContour | undefined Static Create for linear sweep. createForPolygon(points: MultiLineStringDataVariant, defaultNormal?: Vector3d): SweepContour | undefined Static Create for linear sweep. createForRotation(contour: CurveCollection, axis: Ray3d): SweepContour | undefined Static Create for rotational sweep. Properties Name Type Description axis Ray3d | undefined Axis used only in rotational case. curves CurveCollection The underlying curve collection, in its world coordinates position. localToWorld Transform coordinate frame that in which the curves are all in the xy plane. Defined in core/geometry/src/solid/SweepContour.ts Line 36 Last Updated: 13 June, 2024