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

Public Member Functions

 EnvelopeEnergy2D (const std::shared_ptr< SampleEnvelope > &envelope, const std::array< Vector2d, 3 > &pts)
 The energy is the squared distance to an envelope.
 
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
 
bool is_step_valid (const TVector &x0, const TVector &x1) override
 

Private Attributes

std::shared_ptr< SampleEnvelopem_envelope
 
std::array< Vector2d, 3 > m_pts
 

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