Cargo Features

ghx_constrained_delaunay has no features set by default.

[dependencies]
ghx_constrained_delaunay = { version = "0.2.0", features = ["u64_indexes", "f32", "parallel_filtering", "debug_context", "progress_log", "profile_traces", "more_profile_traces"] }
u64_indexes

Uses u64 indexes for the triangles and the vertices.
Allows for a larger count of vertices to triangulate.
(disabled by default for more performances)

Affects types::u64

f32

Uses f32 for the triangulation.
Gives just a bit more performances, at the price of stability in the algorithm.
(disabled by default because the stability it brings often outweighs the performance gains)

Affects types::f32

parallel_filtering

Only used in DT not in CDT.
Allows filtering the triangles in parallel during the final step of the algorithm. Since it is only useful for sizeable datasets, the activation threshold can be tweaked in the algorithm input configuration.

Enables rayon

Affects triangulation::TriangulationConfiguration.filter_parallel_tri_count_threshold, triangulation::TriangulationConfiguration.filter_parallel_min_batch_len

debug_context progress_log?

Register debug data (triangles) in buffers during the execution of the triangulation

Affects constrained_triangulation::ConstrainedTriangulationConfiguration.debug_config, ghx_constrained_delaunay::debug, triangulation::TriangulationConfiguration.debug_config, triangulation::Triangulation.debug_context, triangulation::TriangulationError.debug_context

progress_log = debug_context

Add logs during the triangulation process to indicate the current progress

Enables tracing

profile_traces more_profile_traces?

Adds profile spans to use with the Tracy profiler

Enables tracing

more_profile_traces = profile_traces

Adds more profile spans to use with the Tracy profiler