Swept patch: the centreline is offset ±width/2 (mitred at interior vertices) and cut into across quads per station.
More...
#include <meshkit/patch.hpp>
Public Attributes | |
| Vector< Point2 > | centreline |
| >= 2 points. | |
| double | width = 0.0 |
| Full strip width, XY units; must be finite and > 0. | |
| int | across = 0 |
| Quads across the strip at every station; must be >= 1. | |
| double | along = 0.0 |
| Target station spacing along the centreline, XY units; must be finite and >= 0. | |
| Text | tag |
| Label copied to PatchMesh::tag and to every generated quad. | |
Swept patch: the centreline is offset ±width/2 (mitred at interior vertices) and cut into across quads per station.
along > 0 resamples every centreline segment to that target spacing (original vertices are kept); 0 = one station per centreline vertex.
| int meshkit::plan::SweptPatch::across = 0 |
Quads across the strip at every station; must be >= 1.
| double meshkit::plan::SweptPatch::along = 0.0 |
Target station spacing along the centreline, XY units; must be finite and >= 0.
Each segment is cut into ceil(length/along) equal parts (a ratio within a tiny tolerance of an integer is snapped to it).
| Text meshkit::plan::SweptPatch::tag |
Label copied to PatchMesh::tag and to every generated quad.
| double meshkit::plan::SweptPatch::width = 0.0 |
Full strip width, XY units; must be finite and > 0.