Lagrange
Loading...
Searching...
No Matches
IsolineOptions Struct Reference

Options for isoline extraction/trimming. More...

#include <lagrange/isoline.h>

Public Attributes

AttributeId attribute_id = invalid_attribute_id()
 Attribute ID of the scalar field to use. Can be a vertex or indexed attribute.
 
size_t channel_index = 0
 Channel index to use for the scalar field.
 
double isovalue = 0.0
 Isovalue to extract or trim with.
 
bool keep_below = true
 Whether to keep the part below the isoline. Ignored for isoline extraction.
 
bool keep_attributes = true
 Whether to propagate input mesh attributes (vertex, facet, corner and indexed) to the output mesh.
 

Detailed Description

Options for isoline extraction/trimming.

Member Data Documentation

◆ keep_attributes

bool keep_attributes = true

Whether to propagate input mesh attributes (vertex, facet, corner and indexed) to the output mesh.

Attributes are linearly interpolated within each parent facet. When set to false, the output mesh retains only its vertex positions, which avoids the interpolation cost.


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