Class uipc::constitution::AffineBodyConstitution
ClassList > uipc > constitution > AffineBodyConstitution
Inherits the following classes: uipc::constitution::IConstitution
Public Functions
Type | Name |
---|---|
AffineBodyConstitution (const Json & config=default_config()) noexcept |
|
void | apply_to (geometry::SimplicialComplex & sc, Float kappa, Float mass_density=1e3) const |
AffineBodyMaterial | create_material (Float kappa) noexcept const |
Public Functions inherited from uipc::constitution::IConstitution
See uipc::constitution::IConstitution
Type | Name |
---|---|
std::string_view | name () noexcept const |
std::string_view | type () noexcept const |
U64 | uid () noexcept const |
const builtin::UIDInfo & | uid_info () noexcept const |
virtual | ~IConstitution () = default |
Public Static Functions
Type | Name |
---|---|
Json | default_config () noexcept |
Protected Functions
Type | Name |
---|---|
virtual U64 | get_uid () noexcept override const |
Protected Functions inherited from uipc::constitution::IConstitution
See uipc::constitution::IConstitution
Type | Name |
---|---|
virtual U64 | get_uid () noexcept const = 0 |
Public Functions Documentation
function AffineBodyConstitution
uipc::constitution::AffineBodyConstitution::AffineBodyConstitution (
const Json & config=default_config()
) noexcept
function apply_to
void uipc::constitution::AffineBodyConstitution::apply_to (
geometry::SimplicialComplex & sc,
Float kappa,
Float mass_density=1e3
) const
function create_material
AffineBodyMaterial uipc::constitution::AffineBodyConstitution::create_material (
Float kappa
) noexcept const
Public Static Functions Documentation
function default_config
Protected Functions Documentation
function get_uid
Implements uipc::constitution::IConstitution::get_uid
The documentation for this class was generated from the following file include/uipc/constitution/affine_body_constitution.h