|
Wildmeshing Toolkit
|
#include <EnvelopeEnergy.hpp>
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< SampleEnvelope > | m_envelope |
| double | m_weight |
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.