File affine_body_driving_revolute_joint.h
File List > constitution > affine_body_driving_revolute_joint.h
Go to the documentation of this file
#pragma once
#include <uipc/constitution/constraint.h>
namespace uipc::constitution
{
class UIPC_CONSTITUTION_API AffineBodyDrivingRevoluteJoint final : public Constraint
{
using Base = Constraint;
public:
AffineBodyDrivingRevoluteJoint(const Json& config = default_config());
~AffineBodyDrivingRevoluteJoint() override;
void apply_to(geometry::SimplicialComplex& sc, Float strength_ratio = Float{100});
static Json default_config();
private:
virtual U64 get_uid() const noexcept override;
Json m_config;
};
} // namespace uipc::constitution