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

Four-sided patch: corners in cyclic order (either orientation); n subdivisions along corner0→corner1 (and corner3→corner2), m along corner0→corner3 (and corner1→corner2). More...

#include <mesh/meshpatch.h>

Collaboration diagram for mesh::StructuredPatch:

Public Attributes

QVector< QPointF > corners
 Exactly 4, cyclic.
 
int n = 0
 Quads along corner0→corner1; must be >= 1 (the default 0 fails validate()).
 
int m = 0
 Quads along corner0→corner3; >= 1, and (n+1)(m+1) must fit an int index.
 
QString tag
 Copied verbatim to PatchMesh::tag and to every quad's tag.
 

Detailed Description

Four-sided patch: corners in cyclic order (either orientation); n subdivisions along corner0→corner1 (and corner3→corner2), m along corner0→corner3 (and corner1→corner2).

Member Data Documentation

◆ corners

QVector<QPointF> mesh::StructuredPatch::corners

Exactly 4, cyclic.

◆ m

int mesh::StructuredPatch::m = 0

Quads along corner0→corner3; >= 1, and (n+1)(m+1) must fit an int index.

◆ n

int mesh::StructuredPatch::n = 0

Quads along corner0→corner1; must be >= 1 (the default 0 fails validate()).

◆ tag

QString mesh::StructuredPatch::tag

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


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