PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::DelaunayOptions Struct Reference

Specifies the options to use for Delaunay triangulation. More...

#include <ptems/mesh.hpp>

Public Member Functions

 DelaunayOptions (DelaunayAlgorithm algo=DelaunayAlgorithm::DivideAndConquer)
 Creates the options to use for Delaunay triangulation. More...
 
void SetQualityMesh ()
 Sets MinimumAngle to the default for a quality mesh (20 degrees) More...
 

Public Attributes

DelaunayAlgorithm Algorithm
 The algorithm to use for Delaunay triangulation. More...
 
double MinimumAngle
 Minimum angle constraint for triangles in the Delaunay triangulation, or <= 0 for no constraint. More...
 
double MaximumTriArea
 Maximum triangle area constraint for triangles in the Delaunay triangulation, or <= 0 for no constraint. More...
 
bool Conforming
 Specify if the Delaunay triangulation should be conforming (true) or constrained (false). More...
 

Detailed Description

Specifies the options to use for Delaunay triangulation.

Constructor & Destructor Documentation

◆ DelaunayOptions()

ptems::DelaunayOptions::DelaunayOptions ( DelaunayAlgorithm  algo = DelaunayAlgorithm::DivideAndConquer)
inline

Creates the options to use for Delaunay triangulation.

Parameters
algoThe algorithm to use for Delaunay triangulation

Member Function Documentation

◆ SetQualityMesh()

void ptems::DelaunayOptions::SetQualityMesh ( )
inline

Sets MinimumAngle to the default for a quality mesh (20 degrees)

Member Data Documentation

◆ Algorithm

DelaunayAlgorithm ptems::DelaunayOptions::Algorithm

The algorithm to use for Delaunay triangulation.

◆ Conforming

bool ptems::DelaunayOptions::Conforming

Specify if the Delaunay triangulation should be conforming (true) or constrained (false).

Default is constrained (false)

◆ MaximumTriArea

double ptems::DelaunayOptions::MaximumTriArea

Maximum triangle area constraint for triangles in the Delaunay triangulation, or <= 0 for no constraint.

Default is no area constraint

◆ MinimumAngle

double ptems::DelaunayOptions::MinimumAngle

Minimum angle constraint for triangles in the Delaunay triangulation, or <= 0 for no constraint.

Default is no angle constraint


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