Class uipc::constitution::AffineBodyFixedJoint
ClassList > uipc > constitution > AffineBodyFixedJoint
Inherits the following classes: uipc::constitution::InterAffineBodyConstitution
Public Functions
| Type | Name |
|---|---|
| AffineBodyFixedJoint (const Json & config=default_config()) |
|
| void | apply_to (geometry::SimplicialComplex & sc, span< S< geometry::SimplicialComplexSlot > > l_geo_slots, span< S< geometry::SimplicialComplexSlot > > r_geo_slots, Float strength_ratio=Float{100}) |
| void | apply_to (geometry::SimplicialComplex & sc, span< S< geometry::SimplicialComplexSlot > > l_geo_slots, span< IndexT > l_instance_id, span< S< geometry::SimplicialComplexSlot > > r_geo_slots, span< IndexT > r_instance_id, span< Float > strength_ratio) |
| virtual | ~AffineBodyFixedJoint () |
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 () |
Protected Functions inherited from uipc::constitution::IConstitution
See uipc::constitution::IConstitution
| Type | Name |
|---|---|
| virtual U64 | get_uid () noexcept const = 0 |
Public Functions Documentation
function AffineBodyFixedJoint
uipc::constitution::AffineBodyFixedJoint::AffineBodyFixedJoint (
const Json & config=default_config()
)
function apply_to [1/2]
void uipc::constitution::AffineBodyFixedJoint::apply_to (
geometry::SimplicialComplex & sc,
span< S< geometry::SimplicialComplexSlot > > l_geo_slots,
span< S< geometry::SimplicialComplexSlot > > r_geo_slots,
Float strength_ratio=Float{100}
)
function apply_to [2/2]
void uipc::constitution::AffineBodyFixedJoint::apply_to (
geometry::SimplicialComplex & sc,
span< S< geometry::SimplicialComplexSlot > > l_geo_slots,
span< IndexT > l_instance_id,
span< S< geometry::SimplicialComplexSlot > > r_geo_slots,
span< IndexT > r_instance_id,
span< Float > strength_ratio
)
function ~AffineBodyFixedJoint
Public Static Functions Documentation
function default_config
The documentation for this class was generated from the following file include/uipc/constitution/affine_body_fixed_joint.h