File affine_body_shell.h
File List > constitution > affine_body_shell.h
Go to the documentation of this file
#pragma once
#include <uipc/constitution/affine_body_constitution.h>
namespace uipc::constitution
{
class UIPC_CONSTITUTION_API AffineBodyShell : public AffineBodyConstitution
{
public:
AffineBodyShell(const Json& config = default_config()) noexcept;
void apply_to(geometry::SimplicialComplex& sc,
Float kappa,
Float mass_density = 1e3,
Float thickness = 0.01) const;
};
} // namespace uipc::constitution