Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
wmtk::optimization::ExactDistanceEnergy3D Class Reference

#include <EnvelopeEnergy.hpp>

Inheritance diagram for wmtk::optimization::ExactDistanceEnergy3D:

Public Member Functions

 ExactDistanceEnergy3D (const std::shared_ptr< SampleEnvelope > &envelope, const double weight=1)
 
double value (const TVector &x) override
 
void gradient (const TVector &x, TVector &gradv) override
 
void hessian (const TVector &x, THessian &hessian) override
 
void hessian (const TVector &x, MatrixXd &hessian) override
 
void solution_changed (const TVector &new_x) override
 

Private Attributes

std::shared_ptr< SampleEnvelopem_envelope
 
double m_weight
 

Detailed Description

3D counterpart, serving triangle envelopes (2w n n^T on faces, 2w (I - t t^T) on edges, 2w I at vertices) and order-2 CURVE envelopes (rank two on segment interiors, isotropic at curve vertices) through the same feature query.


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