Lagrange
DihedralAngleOptions Struct Reference

Option struct for computing dihedral angles. More...

#include <lagrange/compute_dihedral_angles.h>

Public Attributes

std::string_view output_attribute_name = "@dihedral_angle"
 Output attribute name. If the attribute already exists, it will be overwritten.
 
std::string_view facet_normal_attribute_name = "@facet_normal"
 Precomputed facet normal attribute name. More...
 
bool recompute_facet_normals = false
 Whether to recompute the facet normal attribute, or reuse existing cached values if present.
 
bool keep_facet_normals = false
 Whether to keep any newly added facet normal attribute. More...
 

Detailed Description

Option struct for computing dihedral angles.

Member Data Documentation

◆ facet_normal_attribute_name

std::string_view facet_normal_attribute_name = "@facet_normal"

Precomputed facet normal attribute name.

If the attribute does not exist, the algorithm will compute it.

◆ keep_facet_normals

bool keep_facet_normals = false

Whether to keep any newly added facet normal attribute.

If such an attribute is already present in the input mesh, it will not be removed, even if this argument is set to false.


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