Loading...
Searching...
No Matches
mesh::SweptPatch Struct Reference

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

#include <mesh/meshpatch.h>

Collaboration diagram for mesh::SweptPatch:

Public Attributes

QVector< QPointF > centreline
 >= 2 points.
 
double width = 0.0
 Full strip width in 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 in XY units; finite >= 0 (0 = vertices).
 
QString tag
 Copied verbatim to PatchMesh::tag and to every quad's tag.
 

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 mesh::SweptPatch::across = 0

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

◆ along

double mesh::SweptPatch::along = 0.0

Target station spacing in XY units; finite >= 0 (0 = vertices).

◆ centreline

QVector<QPointF> mesh::SweptPatch::centreline

>= 2 points.

◆ tag

QString mesh::SweptPatch::tag

Copied verbatim to PatchMesh::tag and to every quad's tag.

◆ width

double mesh::SweptPatch::width = 0.0

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


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