25 #if GEOM_PSEUDO3D==GEOM_TRUE
26 namespace GEOM_FADE25D {
27 #elif GEOM_PSEUDO3D==GEOM_FALSE
28 namespace GEOM_FADE2D {
30 #error GEOM_PSEUDO3D is not defined
37 class ConstraintSegment2;
39 template <
typename T>
inline void unusedParameter(
const T&){}
69 #if GEOM_PSEUDO3D==GEOM_TRUE
71 pHeightGuideTriangulation(NULL),
72 maxHeightError(DBL_MAX),
77 maxEdgeLength(DBL_MAX),
78 maxTriangleArea(DBL_MAX),
79 bAllowConstraintSplitting(true),
81 growFactorMinArea(1e-3),
84 bKeepExistingSteinerPoints(true),
86 bReproducibleResults(true),
87 bGridMeshingLQ(false),
88 psLockedConstraintSegments(NULL)
91 #if GEOM_PSEUDO3D==GEOM_TRUE
92 gridVector=
Vector2(1.0,0.0,0.0);
93 gridPoint=
Point2(DBL_MAX,DBL_MAX,DBL_MAX);
96 gridPoint=
Point2(DBL_MAX,DBL_MAX);
124 return maxTriangleArea;
146 return maxEdgeLength;
151 #if GEOM_PSEUDO3D==GEOM_TRUE
158 Fade_2D* pHeightGuideTriangulation;
164 double maxHeightError;
298 std::set<ConstraintSegment2*>* psLockedConstraintSegments;
A ConstraintSegment2 represents a constraint edge between two vertices of a Delaunay triangulation.
Definition: ConstraintSegment2.h:71
Fade_2D is a class that contains a Delaunay triangulation.
Definition: Fade_2D.h:122
Parameters for the mesh generator.
Definition: MeshGenParams.h:59
double capAspectLimit
Aspect ratio limit for triangle refinement.
Definition: MeshGenParams.h:232
Zone2 * pZone
The Zone2 to be meshed.
Definition: MeshGenParams.h:170
double growFactor
Grow factor for adjacent triangles.
Definition: MeshGenParams.h:217
double gridLength
Grid length for meshing.
Definition: MeshGenParams.h:254
bool bAllowConstraintSplitting
Allow constraint segment splitting.
Definition: MeshGenParams.h:210
void addLockedConstraint(ConstraintSegment2 *pConstraintSegment)
Locked constraint segments that should not be split.
Vector2 gridVector
gridVector
Definition: MeshGenParams.h:241
virtual double getMaxTriangleArea(Triangle2 *pT)
Get the maximum allowed triangle area for mesh refinement.
Definition: MeshGenParams.h:121
bool bKeepExistingSteinerPoints
Steiner points from previous refinements.
Definition: MeshGenParams.h:264
bool bGridMeshingLQ
Low-quality grid meshing for high performance.
Definition: MeshGenParams.h:295
double growFactorMinArea
growFactorMinArea
Definition: MeshGenParams.h:225
bool bReproducibleResults
Flag for reproducible results.
Definition: MeshGenParams.h:287
double maxTriangleArea
maxTriangleArea
Definition: MeshGenParams.h:201
double maxEdgeLength
Maximum edge length.
Definition: MeshGenParams.h:193
MeshGenParams(Zone2 *pZone_)
Constructor for mesh generator parameters.
Definition: MeshGenParams.h:68
double minEdgeLength
Minimum edge length for triangle refinement.
Definition: MeshGenParams.h:185
Point2 gridPoint
Grid point through which the grid mesh must pass.
Definition: MeshGenParams.h:307
virtual double getMaxEdgeLength(Triangle2 *pT)
Get the maximum allowed edge length for a Triangle2.
Definition: MeshGenParams.h:143
double minAngleDegree
Minimum interior angle for triangles.
Definition: MeshGenParams.h:178
Represents a 2D point.
Definition: Point2.h:61
Represents a triangle in a triangulation.
Definition: Triangle2.h:59
Vector.
Definition: Vector2.h:47
Represents a defined area within a triangulation.
Definition: Zone2.h:82