On this page:
15.1 meshgems
15.1.1 angle_  refinement

15 tessellation_options

Properties and criteria to set for surface and volume tessellations

Name

 

Type

 

Description

 

Default

label

 

STRING

 

 

meshgems

 

SUB OBJECT

 

 

15.1 meshgems

Trimesh algorithm for tessellation

Name

 

Type

 

Description

 

Default

average_triangle_edge_subdivisions [optional]

 

INTEGER

 

Specifies the average number of edge subdivisions when creating surface tessellations during trimming. If this option is not set or if the degree of the cell is larger thatn this value then the degree of the cell is used instead.

 

angle_refinement [optional]

 

SUB OBJECT

 

See linked documentation

 

15.1.1 angle_refinement

Name

 

Type

 

Description

 

Default

max_cosine [optional]

 

DOUBLE

 

The curve is refined if the angle between any two adjacent edge segments exceeds the specified value. For this angle-based refinement, the cosine is measured in the physical domain. Default: cos(11*pi/12)

 

max_refinement_count [optional]

 

INTEGER

 

The refinement is performed upto max_refinement_count times to avoid too small edges.

 

max_edge_ratio [optional]

 

DOUBLE

 

When any curve is refined, 'max_size' option of MeshGems is specified to propagate the desired edge size to surfaces. max_size is set to max( (smallest edge size on curves), max_edge_ratio*(largest edge size on curves) ) to avoid too small triangles.