Loading...
Searching...
No Matches
meshkit::plan::SweptPatch Struct Reference

Swept patch: the centreline is offset ±width/2 (mitred at interior vertices) and cut into across quads per station. More...

#include <meshkit/patch.hpp>

Collaboration diagram for meshkit::plan::SweptPatch:

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.
 

Detailed Description

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.

Member Data Documentation

◆ across

int meshkit::plan::SweptPatch::across = 0

Quads across the strip at every station; must be >= 1.

◆ along

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).

◆ centreline

Vector<Point2> meshkit::plan::SweptPatch::centreline

>= 2 points.

◆ tag

Text meshkit::plan::SweptPatch::tag

Label copied to PatchMesh::tag and to every generated quad.

◆ width

double meshkit::plan::SweptPatch::width = 0.0

Full strip width, XY units; must be finite and > 0.


The documentation for this struct was generated from the following file: