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

A polyline that must appear as constrained edges in the mesh. More...

#include <mesh/meshgenerator.h>

Collaboration diagram for mesh::ConstraintSegment:

Public Attributes

QVector< QPointF > path
 >= 2 points; consecutive pairs become constrained edges.
 
int marker = 0
 Preserved on output edges.
 
QString tag
 Resolved later via the marker→tag lookup the caller maintains.
 
double stripWidth = 0.0
 Width of a swept quad strip along the line; 0 (default) = no strip.
 

Detailed Description

A polyline that must appear as constrained edges in the mesh.

Member Data Documentation

◆ marker

int mesh::ConstraintSegment::marker = 0

Preserved on output edges.

◆ path

QVector<QPointF> mesh::ConstraintSegment::path

>= 2 points; consecutive pairs become constrained edges.

◆ stripWidth

double mesh::ConstraintSegment::stripWidth = 0.0

Width of a swept quad strip along the line; 0 (default) = no strip.

When > 0: a swept quad strip this wide follows the (open) line — a conduit — with the line along its middle row, cut back one width from each end so strips never meet at a junction. The line keeps its marker on every edge, inside the strip or not. A strip that does not fit is dropped (MeshGenerator::stats()) and the line stays a plain constraint.

◆ tag

QString mesh::ConstraintSegment::tag

Resolved later via the marker→tag lookup the caller maintains.


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