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

Two open bank polylines with independently supplied directions. More...

#include <mesh/meshpatch.h>

Collaboration diagram for mesh::BankPairPatch:

Public Attributes

QVector< QPointF > bankA
 First bank: open polyline of >= 2 finite points with no repeated consecutive point.
 
QVector< QPointF > bankB
 Second bank, same rules; must not touch or cross bankA.
 
int across = 0
 Quads between the banks at every station; must be >= 1.
 
double along = 0.0
 Target station spacing in XY units; finite >= 0 (0 = union only).
 
QString tag
 Copied to the generated patch and its quads.
 

Detailed Description

Two open bank polylines with independently supplied directions.

Endpoints are paired by minimum total connection length. Stations use the union of normalized arc-length vertices, retaining every bank bend exactly. Positive along subdivides that union to the target spacing; zero retains only the union. This is normalized arc correspondence, not surveyed stations.

Member Data Documentation

◆ across

int mesh::BankPairPatch::across = 0

Quads between the banks at every station; must be >= 1.

◆ along

double mesh::BankPairPatch::along = 0.0

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

◆ bankA

QVector<QPointF> mesh::BankPairPatch::bankA

First bank: open polyline of >= 2 finite points with no repeated consecutive point.

◆ bankB

QVector<QPointF> mesh::BankPairPatch::bankB

Second bank, same rules; must not touch or cross bankA.

Either direction is accepted.

◆ tag

QString mesh::BankPairPatch::tag

Copied to the generated patch and its quads.


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