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

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

#include <meshkit/patch.hpp>

Collaboration diagram for meshkit::plan::BankPairPatch:

Public Attributes

Vector< Point2 > bankA
 First bank: open polyline in XY units with >= 2 finite points, no repeated consecutive vertex and distinct ends; either direction.
 
Vector< Point2 > bankB
 Second bank, same rules.
 
int across = 0
 Quads across between the banks at every station; must be >= 1.
 
double along = 0.0
 Target station spacing, XY units, measured on the longer bank; must be finite and >= 0.
 
Text tag
 Label copied to PatchMesh::tag and to every generated quad.
 

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 meshkit::plan::BankPairPatch::across = 0

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

◆ along

double meshkit::plan::BankPairPatch::along = 0.0

Target station spacing, XY units, measured on the longer bank; must be finite and >= 0.

Each interval of the station union is cut into ceil(advance/along) parts (a ratio within a tiny tolerance of an integer is snapped to it).

◆ bankA

Vector<Point2> meshkit::plan::BankPairPatch::bankA

First bank: open polyline in XY units with >= 2 finite points, no repeated consecutive vertex and distinct ends; either direction.

◆ bankB

Vector<Point2> meshkit::plan::BankPairPatch::bankB

Second bank, same rules.

The banks and the two end connectors must form one simple outline; generation may reverse or swap the banks.

◆ tag

Text meshkit::plan::BankPairPatch::tag

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


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