IndexGeometriesBLApproximationOptions

BLApproximationOptions Struct Reference [¶]

Options used to describe how geometry is approximated.

This struct cannot be simply zeroed and then passed to functions that accept approximation options. Use bl_default_approximation_options to setup defaults and then alter values you want to change.

Example of using BLApproximationOptions:

// Initialize with defaults first.
// Override values you want to change.
approx.simplify_tolerance = 0.02;
// ... now safely use approximation options in your code ...

Public Members

uint8_t BLApproximationOptions::flatten_mode[¶]

Specifies how curves are flattened, see BLFlattenMode.

uint8_t BLApproximationOptions::offset_mode[¶]

Specifies how curves are offsetted (used by stroking), see BLOffsetMode.

uint8_t BLApproximationOptions::reserved_flags[6][¶]

Reserved for future use, must be zero.

double BLApproximationOptions::flatten_tolerance[¶]

Tolerance used to flatten curves.

double BLApproximationOptions::simplify_tolerance[¶]

Tolerance used to approximate cubic curves with quadratic curves.

double BLApproximationOptions::offset_parameter[¶]

Curve offsetting parameter, exact meaning depends on offset_mode.