Sweep
SMLib has the ability to sweep faces, edges, and vertices to the same dimension or to a higher dimension.
- The sweep of a face to the same dimension produces a copy of the face at the terminal position.
- The sweep of a face to a higher dimension produces a solid volume between the original face and the terminal position face.
- The sweep of an edge to the same dimension produces a copy of the edge at the terminal position.<
- The sweep of an edge to a higher dimension produces a face between the original edge and the terminal position edge.
- The sweep of a vertex to the same dimension produces a copy of the vertex at the terminal position.
- The sweep of a vertex to a higher dimension produces an edge between the original vertex and the terminal position vertex.
The Non-Manifold Sweeping is designed as an Object-Oriented Framework. Application developers can easily create new geometric sweeps by implementing a new subclass that produces the geometry for the sweep operation while the Framework builds the topology for the sweep.
![non_manifold_sweep.jpg](https://docscontent.nvidia.com/dims4/default/2c0d940/2147483647/strip/true/crop/389x636+0+0/resize/389x636!/quality/90/?url=https%3A%2F%2Fk3-prod-nvidia-docs.s3.us-west-2.amazonaws.com%2Fbrightspot%2F1c%2F9b%2F6ea7732b445697dba725a00e27c6%2Fnon-manifold-sweep.jpg)