TessellationOptions#

class ansys.geometry.core.misc.options.TessellationOptions(surface_deviation: ansys.geometry.core.typing.Real, angle_deviation: ansys.geometry.core.typing.Real, max_aspect_ratio: ansys.geometry.core.typing.Real = 0.0, max_edge_length: ansys.geometry.core.typing.Real = 0.0, watertight: bool = False)#

Provides options for getting tessellation.

Parameters:
surface_deviationReal

The maximum deviation from the true surface position.

angle_deviationReal

The maximum deviation from the true surface normal, in radians.

max_aspect_ratioReal, default=0.0

The maximum aspect ratio of facets.

max_edge_lengthReal, default=0.0

The maximum facet edge length.

watertightbool, default=False

Whether triangles on opposite sides of an edge should match.

Overview#

surface_deviation

Surface Deviation.

angle_deviation

Angle deviation.

max_aspect_ratio

Maximum aspect ratio.

max_edge_length

Maximum edge length.

watertight

Watertight.

Import detail#

from ansys.geometry.core.misc.options import TessellationOptions

Property detail#

property TessellationOptions.surface_deviation: ansys.geometry.core.typing.Real#

Surface Deviation.

The maximum deviation from the true surface position.

property TessellationOptions.angle_deviation: ansys.geometry.core.typing.Real#

Angle deviation.

The maximum deviation from the true surface normal, in radians.

property TessellationOptions.max_aspect_ratio: ansys.geometry.core.typing.Real#

Maximum aspect ratio.

The maximum aspect ratio of facets.

property TessellationOptions.max_edge_length: ansys.geometry.core.typing.Real#

Maximum edge length.

The maximum facet edge length.

property TessellationOptions.watertight: bool#

Watertight.

Whether triangles on opposite sides of an edge should match.