occ
Loading...
Searching...
No Matches
occ::geometry::WulffConstruction Class Reference

#include <wulff.h>

Public Member Functions

 WulffConstruction (const Mat3N &facet_normals, const Vec &facet_energies, const std::vector< std::string > &facet_labels={})
 
const Mat3Nvertices () const
 
const IMat3Ntriangles () const
 
const auto & facets () const
 
double facet_area (size_t i) const
 Area of facet i (sum of its triangle areas); 0 for inactive facets.
 
Vec facet_areas () const
 Area of every facet (inactive facets contribute 0).
 
double total_area () const
 Total surface area of the polyhedron.
 
std::vector< WulffEdgeedges () const
 Edges (active-facet pairs sharing two vertices) with their lengths.
 

Constructor & Destructor Documentation

◆ WulffConstruction()

occ::geometry::WulffConstruction::WulffConstruction ( const Mat3N facet_normals,
const Vec facet_energies,
const std::vector< std::string > &  facet_labels = {} 
)

Member Function Documentation

◆ edges()

std::vector< WulffEdge > occ::geometry::WulffConstruction::edges ( ) const

Edges (active-facet pairs sharing two vertices) with their lengths.

◆ facet_area()

double occ::geometry::WulffConstruction::facet_area ( size_t  i) const

Area of facet i (sum of its triangle areas); 0 for inactive facets.

◆ facet_areas()

Vec occ::geometry::WulffConstruction::facet_areas ( ) const

Area of every facet (inactive facets contribute 0).

◆ facets()

const auto & occ::geometry::WulffConstruction::facets ( ) const
inline

◆ total_area()

double occ::geometry::WulffConstruction::total_area ( ) const

Total surface area of the polyhedron.

◆ triangles()

const IMat3N & occ::geometry::WulffConstruction::triangles ( ) const

◆ vertices()

const Mat3N & occ::geometry::WulffConstruction::vertices ( ) const

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