Lagrange
SubmeshOptions Struct Reference

Options for extract submesh. More...

#include <lagrange/extract_submesh.h>

Public Member Functions

 SubmeshOptions (const SubmeshOptions &)=default
 
 SubmeshOptions (SubmeshOptions &&)=default
 
SubmeshOptionsoperator= (const SubmeshOptions &)=default
 
SubmeshOptionsoperator= (SubmeshOptions &&)=default
 
template<typename T >
 SubmeshOptions (const T &options)
 Explicit conversion from other compatible option structs.
 

Public Attributes

std::string_view source_vertex_attr_name
 The name of the output attribute holding source vertex indices. More...
 
std::string_view source_facet_attr_name
 The name of the output attribute holding source facet indices. More...
 
bool map_attributes = false
 Map all attributes over to submesh.
 

Detailed Description

Options for extract submesh.

Member Data Documentation

◆ source_vertex_attr_name

std::string_view source_vertex_attr_name

The name of the output attribute holding source vertex indices.

Note
If empty, source vertex mapping will not be computed.

◆ source_facet_attr_name

std::string_view source_facet_attr_name

The name of the output attribute holding source facet indices.

Note
If empty, source facet mapping will not be computed.

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